xref: /phasta/phSolver/common/phIO.h (revision f262839c0e5005285eae3582f64c884689ac1db1)
1 #ifndef PHSOLVER_PHIO_H
2 #define PHSOLVER_PHIO_H
3 
4 #include <FCMangle.h>
5 
6 #define phio_readheader FortranCInterface_GLOBAL_(phio_readheader, PHIO_READHEADER)
7 #define phio_readdatablock FortranCInterface_GLOBAL_(phio_readdatablock, PHIO_READDATABLOCK)
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12   void phio_readheader(
13       int* fileDescriptor,
14       const  char keyphrase[],
15       void* valueArray,
16       int*  nItems,
17       const char  datatype[],
18       const char  iotype[] );
19   void phio_readdatablock(
20       int* fileDescriptor,
21       const  char keyphrase[],
22       void* valueArray,
23       int*  nItems,
24       const char  datatype[],
25       const char  iotype[] );
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #endif
31 
32