1 /////////////////////////////////////////////////////////////////////////
2 // $Id: extplugin.h,v 1.4 2002/12/12 15:28:37 cbothamy Exp $
3 /////////////////////////////////////////////////////////////////////////
7 // This header file defines the types necessary to make a Bochs plugin,
8 // but without mentioning all the details of Bochs internals (bochs.h).
9 // It is included by the configuration interfaces and possibly other
10 // things which are intentionally isolated from other parts of the program.
12 // The plugin_t struct comes from the plugin.h file from plex86.
13 // Plex86 is Copyright (C) 1999-2000 The plex86 developers team
15 /////////////////////////////////////////////////////////////////////////
33 typedef struct _plugin_t
41 char *name
, *args
, *argv
[MAX_ARGC
];
42 int (*plugin_init
)(struct _plugin_t
*plugin
, plugintype_t type
, int argc
, char *argv
[]);
43 void (*plugin_fini
)(void);
45 struct _plugin_t
*next
;
50 #endif /* __EXTPLUGIN_H */