xref: /phasta/phSolver/common/streamio.h (revision ea868eb1c17e8b2a160bb27c128290bdf49f8ce8)
1ab645d52SCameron Smith #ifndef STREAMIO_H
2ab645d52SCameron Smith #define STREAMIO_H
3ecf8d2a9SCameron Smith #include "phstream.h"
4549af74fSCameron Smith #include "phIO.h"
5ab645d52SCameron Smith #ifdef __cplusplus
6ab645d52SCameron Smith extern "C" {
7ab645d52SCameron Smith #endif
8ecf8d2a9SCameron Smith void streamio_setup_read(phio_fp* f, grstream grs);
9ecf8d2a9SCameron Smith void streamio_setup_write(phio_fp* f, rstream rs);
10a486e66cSCameron Smith void streamio_set_gr(grstream grs);
11a486e66cSCameron Smith grstream streamio_get_gr();
12*ea868eb1SCameron Smith void streamio_set_r(rstream rs);
13*ea868eb1SCameron Smith rstream streamio_get_r();
14ab645d52SCameron Smith #ifdef __cplusplus
15ab645d52SCameron Smith }
16ab645d52SCameron Smith #endif
17ab645d52SCameron Smith #endif
18