Merge branch 'release-4-5-patches' of git@git.gromacs.org:gromacs into release-4...
[gromacs/rigid-bodies.git] / include / vmdio.h
blobe003620bda5d652aa4e3529211f6fd24a14f542e
1 /* -*- mode: c; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; c-file-style: "stroustrup"; -*-
3 *
4 * This file is part of Gromacs Copyright (c) 1991-2008
5 * David van der Spoel, Erik Lindahl, Berk Hess, University of Groningen.
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.
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
15 * And Hey:
16 * Gnomes, ROck Monsters And Chili Sauce
19 #ifndef VMDIO_H_
20 #define VMDIO_H_
22 #include "molfile_plugin.h"
23 #include "types/simple.h"
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
29 struct trxframe;
31 typedef struct
33 molfile_plugin_t *api;
34 const char* filetype;
35 void* handle;
36 gmx_bool bV;
37 } t_gmxvmdplugin;
39 int read_first_vmd_frame(int *status,const char *fn, struct trxframe *fr,int flags);
40 gmx_bool read_next_vmd_frame(int status,struct trxframe *fr);
41 int load_vmd_library(const char *fn, t_gmxvmdplugin *vmdplugin);
43 #ifdef __cplusplus
45 #endif
47 #endif /* VMDIO_H_ */