Add files for swift over UDP.
[swifty.git] / src / libswift_udp / doc / wireshark-dissector / plugin.c
diff --git a/src/libswift_udp/doc/wireshark-dissector/plugin.c b/src/libswift_udp/doc/wireshark-dissector/plugin.c
new file mode 100644 (file)
index 0000000..fea12f6
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * Do not modify this file.
+ *
+ * It is created automatically by Makefile or Makefile.nmake.
+ */
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <gmodule.h>
+
+#include "moduleinfo.h"
+
+#ifndef ENABLE_STATIC
+G_MODULE_EXPORT const gchar version[] = VERSION;
+
+/* Start the functions we need for the plugin stuff */
+
+G_MODULE_EXPORT void
+plugin_register (void)
+{
+  {extern void proto_register_swift (void); proto_register_swift ();}
+}
+
+G_MODULE_EXPORT void
+plugin_reg_handoff(void)
+{
+  {extern void proto_reg_handoff_swift (void); proto_reg_handoff_swift ();}
+}
+#endif