xref: /phasta/phSolver/common/phio_stream.h (revision 08d2ac07b0519855627ebfd43221a09a84cee7bb)
1 #ifndef PHSOLVER_PHIO_STREAM_H
2 #define PHSOLVER_PHIO_STREAM_H
3 #include "phio_base.h"
4 #include "phstream.h"
5 struct streamio_file : phio_file {
6   RStream rs;
7   GRStream grs;
8 };
9 typedef struct streamio_file* stream_fp;
10 void stream_openfile_read(
11     const char filename[],
12     phio_fp fileDescriptor);
13 void stream_openfile_write(
14     const char filename[],
15     phio_fp fileDescriptor);
16 void stream_closefile(
17     phio_fp fileDescriptor);
18 void stream_constructname(
19     const char* in,
20     char* out);
21 #endif
22