Bumped version to 4.5-beta3
[gromacs.git] / include / vmdio.h
blobf9f0df8aa014f020ad1fd047f9ccc2079b1d8d12
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 bool bV;
37 } t_gmxvmdplugin;
39 int read_first_vmd_frame(int *status,const char *fn, struct trxframe *fr,int flags);
40 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_ */