#include <stdio.h>
-#include "../utility/cstringutil.h"
-#include "../utility/futil.h"
-#include "../utility/real.h"
-#include "../math/vectypes.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
typedef struct t_fileio t_fileio;
-extern const char *itemstr[eitemNR];
-extern const char *comment_str[eitemNR];
-
/* NOTE ABOUT THREAD SAFETY:
The functions are all thread-safe, provided that two threads don't
t_fileio *gmx_fio_open(const char *fn, const char *mode);
/* Open a new file for reading or writing.
* The file type will be deduced from the file name.
- * If fn is NULL, stdin / stdout will be used for Ascii I/O (TPA type)
- * mode may be "r", "w", or "a". You should append a "b" to the mode
- * if you are writing a binary file, but the routine will also
- * doublecheck it and try to do it if you forgot. This has no effect on
- * unix, but is important on windows.
*/
int gmx_fio_close(t_fileio *fp);
***************************************************/
void gmx_fio_rewind(t_fileio *fio);
-/* Rewind the tpa file in fio */
+/* Rewind the file in fio */
int gmx_fio_flush(t_fileio *fio);
/* Flush the fio, returns 0 on success */