Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / include / pdb2top.h
index 8a1b2d34731e8b6ccd6f3ca0202195806022680a..58d7c465143af698b3eeae166447306a14b7e5f1 100644 (file)
@@ -78,15 +78,15 @@ void get_hackblocks_rtp(t_hackblock **hb, t_restp **restp,
 
 void match_atomnames_with_rtp(t_restp restp[],t_hackblock hb[],
                                     t_atoms *pdba,rvec *x,
-                                    bool bVerbose);
+                                    gmx_bool bVerbose);
 /* Check if atom in pdba need to be deleted of renamed due to tdb or hdb.
  * If renaming involves atoms added wrt to the rtp database,
  * add these atoms to restp.
  */
 
-void print_top_comment(FILE *out,const char *filename,const char *generator,bool bITP);
+void print_top_comment(FILE *out,const char *filename,const char *generator,gmx_bool bITP);
 
-void print_top_header(FILE *out,const char *filename,const char *title,bool bITP, 
+void print_top_header(FILE *out,const char *filename,const char *title,gmx_bool bITP, 
                              const char *ffdir,real mHmult);
 
 void print_top_mols(FILE *out,
@@ -95,7 +95,7 @@ void print_top_mols(FILE *out,
                            int nmol, t_mols *mols);
 
 void write_top(FILE *out, char *pr,char *molname,
-                      t_atoms *at,bool bRTPresname,
+                      t_atoms *at,gmx_bool bRTPresname,
                       int bts[],t_params plist[],t_excls excls[],
                       gpp_atomtype_t atype,int *cgnr, int nrexcl);
 /* NOTE: nrexcl is not the size of *excl! */
@@ -107,17 +107,17 @@ void pdb2top(FILE *top_file, char *posre_fn, char *molname,
                    int nrtp, t_restp rtp[],
                    t_restp *restp, t_hackblock *hb,
                    int nterpairs, t_hackblock **ntdb, t_hackblock **ctdb,
-                   int *rn, int *rc, bool bAllowMissing,
-                   bool bVsites, bool bVsiteAromatics,
+                   int *rn, int *rc, gmx_bool bAllowMissing,
+                   gmx_bool bVsites, gmx_bool bVsiteAromatics,
                    const char *ff, const char *ffdir,
                    real mHmult,
                    int nssbonds, t_ssbond ssbonds[],
                    real long_bond_dist, real short_bond_dist,
-                   bool bDeuterate, bool bChargeGroups, bool bCmap,
-                   bool bRenumRes,bool bRTPresname);
+                   gmx_bool bDeuterate, gmx_bool bChargeGroups, gmx_bool bCmap,
+                   gmx_bool bRenumRes,gmx_bool bRTPresname);
 /* Create a topology ! */
 
-void print_sums(t_atoms *atoms, bool bSystem);
+void print_sums(t_atoms *atoms, gmx_bool bSystem);
 
 
 #endif /* _pdb2top_h */