Convert gmx_residuetype_t to a non-pointer
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / xlate.h
index 9ed45b9b75a5f5579443c8deb7dbcbbd91ba09e1..549aa4563b6bc1682b941752219fdd6fdbd173fa 100644 (file)
 #ifndef GMX_GMXPREPROCESS_XLATE_H
 #define GMX_GMXPREPROCESS_XLATE_H
 
-#include "gromacs/topology/residuetypes.h"
+#include "gromacs/utility/basedefinitions.h"
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+struct gmx_residuetype_t;
+struct t_atoms;
+struct t_symtab;
+
 /* If bResname is true renames atoms based on residue names,
  * otherwise renames atoms based on rtp entry names.
  */
 void rename_atoms(const char *xlfile, const char *ffdir,
-                  t_atoms *atoms, struct t_symtab *symtab, const t_restp *restp,
-                  gmx_bool bResname, gmx_residuetype_t rt, gmx_bool bReorderNum,
+                  struct t_atoms *atoms, struct t_symtab *symtab, const t_restp *restp,
+                  gmx_bool bResname, struct gmx_residuetype_t *rt, gmx_bool bReorderNum,
                   gmx_bool bVerbose);
 
 #ifdef __cplusplus