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