summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2010-12-29 21:42:55 +0100
committerSebastian Reichel <sre@ring0.de>2010-12-29 21:42:55 +0100
commit8588f347d9f9e79ee7ee29529b5b8a000f14bdee (patch)
tree729008ab5d338bb20c6e42b0426d1107b20f2c39 /src/plugin.c
downloadisi-wireshark-plugin-8588f347d9f9e79ee7ee29529b5b8a000f14bdee.tar.bz2
import the ISI wireshark plugin from libisi
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c16
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