diff options
author | Sebastian Reichel <sre@ring0.de> | 2010-12-29 21:42:55 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2010-12-29 21:42:55 +0100 |
commit | 8588f347d9f9e79ee7ee29529b5b8a000f14bdee (patch) | |
tree | 729008ab5d338bb20c6e42b0426d1107b20f2c39 /src/plugin.c | |
download | isi-wireshark-plugin-8588f347d9f9e79ee7ee29529b5b8a000f14bdee.tar.bz2 |
import the ISI wireshark plugin from libisi
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/plugin.c b/src/plugin.c new file mode 100644 index 0000000..3d7ad2a --- /dev/null +++ b/src/plugin.c @@ -0,0 +1,16 @@ +#include <gmodule.h> + +#ifndef ENABLE_STATIC +G_MODULE_EXPORT const gchar version[] = "0.0.1"; + +extern void proto_register_isi(void); +extern void proto_reg_handoff_isi(void); + +G_MODULE_EXPORT void plugin_register (void) { + proto_register_isi(); +} + +G_MODULE_EXPORT void plugin_reg_handoff(void) { + proto_reg_handoff_isi(); +} +#endif |