Properly initialize idef in topologies
[alexxy/gromacs.git] / src / gromacs / topology / idef.h
index 3ebb53784cd4999fbd5dfa7e9d291fe98918cd50..9059e089e41569e534b88224a4986715bed2110f 100644 (file)
@@ -328,4 +328,18 @@ void pr_ffparams(FILE *fp, int indent, const char *title,
 void pr_idef(FILE *fp, int indent, const char *title, const t_idef *idef,
              gmx_bool bShowNumbers, gmx_bool bShowParameters);
 
+/*! \brief
+ * Properly initialize idef struct.
+ *
+ * \param[in] idef Pointer to idef struct to initialize.
+ */
+void init_idef(t_idef *idef);
+
+/*! \brief
+ * Properly clean up idef struct.
+ *
+ * \param[in] idef Pointer to idef struct to clean up.
+ */
+void done_idef(t_idef *idef);
+
 #endif