aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/opcua/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/opcua/plugin.c')
-rw-r--r--plugins/opcua/plugin.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/opcua/plugin.c b/plugins/opcua/plugin.c
new file mode 100644
index 0000000000..138b4a4e36
--- /dev/null
+++ b/plugins/opcua/plugin.c
@@ -0,0 +1,26 @@
+/* Do not modify this file. */
+/* It is created automatically by the Makefile. */
+#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_opcua (void); proto_register_opcua ();}
+}
+G_MODULE_EXPORT void
+plugin_reg_handoff(void)
+{
+ {extern void proto_reg_handoff_opcua (void); proto_reg_handoff_opcua ();}
+}
+#endif