xref: /phasta/phSolver/common/streamio.h (revision d5e0af7b98f8bc43077e71e0916fe20709c24ee9)
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
8*d5e0af7bSCameron Smith void streamio_setup_r(phio_fp* f, rstream rs, char mode);
9ecf8d2a9SCameron Smith void streamio_setup_read(phio_fp* f, grstream grs);
10ecf8d2a9SCameron Smith void streamio_setup_write(phio_fp* f, rstream rs);
11a486e66cSCameron Smith void streamio_set_gr(grstream grs);
12a486e66cSCameron Smith grstream streamio_get_gr();
13ea868eb1SCameron Smith void streamio_set_r(rstream rs);
14ea868eb1SCameron Smith rstream streamio_get_r();
15ab645d52SCameron Smith #ifdef __cplusplus
16ab645d52SCameron Smith }
17ab645d52SCameron Smith #endif
18ab645d52SCameron Smith #endif
19