Harald Welte <laforge@gnumonks.org>
[obnox/wireshark/wip.git] / register.h
index ea54a83adb1257e8eb35eb7cd2537b3655dab2e0..25ba0a657cd1aed95cd464490ac0fa05eed57db7 100644 (file)
 #ifndef __REGISTER_H__
 #define __REGISTER_H__
 
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
 #include <glib.h>
 
 typedef enum {
@@ -33,8 +37,11 @@ typedef enum {
   RA_LISTENERS,         /* Tap listeners */
   RA_REGISTER,          /* register */
   RA_PLUGIN_REGISTER,   /* plugin register */
+  RA_PYTHON_REGISTER,   /* python register */
   RA_HANDOFF,           /* handoff */
   RA_PLUGIN_HANDOFF,    /* plugin handoff */
+  RA_PYTHON_HANDOFF,    /* python handoff */
+  RA_LUA_PLUGINS,       /* lua plugin register */
   RA_PREFERENCES,       /* module preferences */
   RA_CONFIGURATION      /* configuration files */
 } register_action_e;
@@ -45,4 +52,9 @@ extern void register_all_protocols(register_cb cb, gpointer client_data);
 extern void register_all_protocol_handoffs(register_cb cb, gpointer client_data);
 extern void register_all_tap_listeners(void);
 extern gulong register_count(void);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
 #endif /* __REGISTER_H__ */