#include <cstdio>
+#include "gromacs/utility/arrayref.h"
+
enum class Directive : int;
struct gpp_atomtype;
struct t_atoms;
struct t_excls;
struct MoleculeInformation;
struct t_param;
-struct t_params;
+struct InteractionTypeParameters;
/* UTILITIES */
int name2index(char *str, char ***typenames, int ntypes);
-void pr_alloc (int extra, t_params *pr);
+void pr_alloc (int extra, InteractionTypeParameters *pr);
void set_p_string(t_param *p, const char *s);
void cp_param(t_param *dest, t_param *src);
-void add_param_to_list(t_params *list, t_param *b);
+void add_param_to_list(InteractionTypeParameters *list, t_param *b);
/* INITIATE */
-void init_plist(t_params plist[]);
-void done_plist(t_params *plist);
+void init_plist(gmx::ArrayRef<InteractionTypeParameters> plist);
+void done_plist(gmx::ArrayRef<InteractionTypeParameters> plist);
/* PRINTING */
bool bRTPresname);
void print_bondeds(FILE *out, int natoms, Directive d,
- int ftype, int fsubtype, t_params plist[]);
+ int ftype, int fsubtype, gmx::ArrayRef<const InteractionTypeParameters> plist);
void print_excl(FILE *out, int natoms, t_excls excls[]);