diff options
Diffstat (limited to 'plugin.c')
-rw-r--r-- | plugin.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/plugin.c b/plugin.c new file mode 100644 index 0000000..01d2ca6 --- /dev/null +++ b/plugin.c @@ -0,0 +1,36 @@ +/* + * Do not modify this file. Changes will be overwritten. + * + * Generated automatically from ../../tools/make-dissector-reg.py. + */ + +#include "config.h" + +#include <gmodule.h> + +#include "moduleinfo.h" + +/* plugins are DLLs */ +#define WS_BUILD_DLL +#include "ws_symbol_export.h" + +#ifndef ENABLE_STATIC +WS_DLL_PUBLIC_DEF void plugin_register (void); +WS_DLL_PUBLIC_DEF const gchar version[] = VERSION; + +/* Start the functions we need for the plugin stuff */ + +WS_DLL_PUBLIC_DEF void +plugin_register (void) +{ + {extern void proto_register_spice2 (void); proto_register_spice2 ();} +} + +WS_DLL_PUBLIC_DEF void plugin_reg_handoff(void); + +WS_DLL_PUBLIC_DEF void +plugin_reg_handoff(void) +{ + {extern void proto_reg_handoff_spice2 (void); proto_reg_handoff_spice2 ();} +} +#endif |