Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / fileio / xtcio.h
index af10cf522bd0cfc2f4d4c81421d2d676d9fc64cf..db206a904a8490f1a0c4dd539415ae62ee4b78b0 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016,2018, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -55,25 +55,26 @@ struct t_fileio;
  * negative. Fortunately, this tends not to cause serious problems,
  * and we've fixed it in TNG. */
 
-struct t_fileio *open_xtc(const char *filename, const char *mode);
+struct t_fileio* open_xtc(const char* filename, const char* mode);
 /* Open a file for xdr I/O */
 
-void close_xtc(struct t_fileio *fio);
+void close_xtc(struct t_fileiofio);
 /* Close the file for xdr I/O */
 
-int read_first_xtc(struct t_fileio *fio,
-                   int *natoms, int64_t *step, real *time,
-                   matrix box, rvec **x, real *prec, gmx_bool *bOK);
+int read_first_xtc(struct t_fileio* fio,
+                   int*             natoms,
+                   int64_t*         step,
+                   real*            time,
+                   matrix           box,
+                   rvec**           x,
+                   real*            prec,
+                   gmx_bool*        bOK);
 /* Open xtc file, read xtc file first time, allocate memory for x */
 
-int read_next_xtc(struct t_fileio *fio,
-                  int natoms, int64_t *step, real *time,
-                  matrix box, rvec *x, real *prec, gmx_bool *bOK);
+int read_next_xtc(struct t_fileio* fio, int natoms, int64_t* step, real* time, matrix box, rvec* x, real* prec, gmx_bool* bOK);
 /* Read subsequent frames */
 
-int write_xtc(struct t_fileio *fio,
-              int natoms, int64_t step, real time,
-              const rvec *box, const rvec *x, real prec);
+int write_xtc(struct t_fileio* fio, int natoms, int64_t step, real time, const rvec* box, const rvec* x, real prec);
 /* Write a frame to xtc file */
 
 #endif