Code beautification with uncrustify
[alexxy/gromacs.git] / src / gromacs / gmxlib / vmdio.h
1 /* -*- mode: c; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; c-file-style: "stroustrup"; -*-
2  *
3  *
4  * This file is part of Gromacs        Copyright (c) 1991-2008
5  * David van der Spoel, Erik Lindahl, Berk Hess, University of Groningen.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * To help us fund GROMACS development, we humbly ask that you cite
13  * the research papers on the package. Check out http://www.gromacs.org
14  *
15  * And Hey:
16  * Gnomes, ROck Monsters And Chili Sauce
17  */
18
19 #ifndef VMDIO_H_
20 #define VMDIO_H_
21
22 #include "external/vmd_molfile/molfile_plugin.h"
23 #include "types/trx.h"
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 struct gmxvmdplugin
30 {
31     molfile_plugin_t *api;
32     const char      * filetype;
33     void            * handle;
34     gmx_bool          bV;
35 };
36
37 int read_first_vmd_frame(int  *status, const char *fn, struct trxframe *fr, int flags);
38 gmx_bool read_next_vmd_frame(int status, struct trxframe *fr);
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif /* VMDIO_H_ */