Logo Search packages:      
Sourcecode: pymol version File versions  Download package

vmdplugin.h File Reference


Detailed Description

This header must be included by every VMD plugin library. It defines the API for every plugin so that VMD can organize the plugins it finds.

Definition in file vmdplugin.h.

Go to the source code of this file.

Classes

struct  vmdplugin_t

Defines

#define cat(x, y)   x ## y
#define VMDPLUGIN   vmdplugin
#define vmdplugin_ABIVERSION   9
#define VMDPLUGIN_API
#define VMDPLUGIN_EXTERN   extern VMDPLUGIN_API
#define vmdplugin_HEAD
#define xcat(x, y)   cat(x, y)
#define VMDPLUGIN_ERROR   -1
#define VMDPLUGIN_SUCCESS   0
#define VMDPLUGIN_fini   xcat(VMDPLUGIN, _fini)
#define VMDPLUGIN_init   xcat(VMDPLUGIN, _init)
#define VMDPLUGIN_register   xcat(VMDPLUGIN, _register)
#define VMDPLUGIN_register_tcl   xcat(VMDPLUGIN, _register_tcl)
#define VMDPLUGIN_THREADSAFE   1
#define VMDPLUGIN_THREADUNSAFE   0

Typedefs

typedef int(* vmdplugin_register_cb )(void *, vmdplugin_t *)

Functions

VMDPLUGIN_EXTERN int VMDPLUGIN_fini (void)
VMDPLUGIN_EXTERN int VMDPLUGIN_init (void)
VMDPLUGIN_EXTERN int VMDPLUGIN_register (void *, vmdplugin_register_cb)
VMDPLUGIN_EXTERN int VMDPLUGIN_register_tcl (void *, void *tcl_interp, vmdplugin_register_cb)


Generated by  Doxygen 1.6.0   Back to index