#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/filenm.h"
#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/fileio/gmxfio-xdr.h"
#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
int idum = 0;
real rdum = 0;
- gmx_fio_checktype(fio);
gmx_fio_setdebug(fio, bDebugMode());
/* XDR binary topology file */
return ePBC;
}
-/************************************************************
- *
- * The following routines are the exported ones
- *
- ************************************************************/
-
-t_fileio *open_tpx(const char *fn, const char *mode)
+static t_fileio *open_tpx(const char *fn, const char *mode)
{
return gmx_fio_open(fn, mode);
}
-void close_tpx(t_fileio *fio)
+static void close_tpx(t_fileio *fio)
{
gmx_fio_close(fio);
}
+/************************************************************
+ *
+ * The following routines are the exported ones
+ *
+ ************************************************************/
+
void read_tpxheader(const char *fn, t_tpxheader *tpx, gmx_bool TopOnlyOK,
int *file_version, int *file_generation)
{