Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / include / tpxio.h
index ff5e4692d119ba6ac9e4907624b015993332b77d..f4a5c8cdcd5cdc68424b856f123dd16f9b7ec565 100644 (file)
@@ -85,7 +85,7 @@ t_fileio *open_tpx(const char *fn, const char *mode);
 void close_tpx(t_fileio *fio);
 /*  Close the file corresponding to fio */
   
-void read_tpxheader(const char *fn, t_tpxheader *tpx, bool TopOnlyOK,
+void read_tpxheader(const char *fn, t_tpxheader *tpx, gmx_bool TopOnlyOK,
                            int *version, int *generation);
 /* Read the header from a tpx file and then close it again.
  * By setting TopOnlyOK to true, it is possible to read future
@@ -122,11 +122,11 @@ int read_tpx_top(const char *fn,
                        rvec *x,rvec *v,rvec *f,t_topology *top);
 /* As read_tpx, but for the old t_topology struct */
 
-bool fn2bTPX(const char *file);
+gmx_bool fn2bTPX(const char *file);
 /* return if *file is one of the TPX file types */ 
 
-bool read_tps_conf(const char *infile,char *title,t_topology *top,
-                          int *ePBC, rvec **x,rvec **v,matrix box,bool bMass);
+gmx_bool read_tps_conf(const char *infile,char *title,t_topology *top,
+                          int *ePBC, rvec **x,rvec **v,matrix box,gmx_bool bMass);
 /* Read title, top.atoms, x, v (if not NULL) and box from an STX file,
  * memory for atoms, x and v will be allocated.  
  * Return TRUE if a complete topology was read.