diff options
Diffstat (limited to 'plugins/pcli/packet-pcli.c')
-rw-r--r-- | plugins/pcli/packet-pcli.c | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/plugins/pcli/packet-pcli.c b/plugins/pcli/packet-pcli.c index aac945dc02..cb75364b64 100644 --- a/plugins/pcli/packet-pcli.c +++ b/plugins/pcli/packet-pcli.c @@ -32,25 +32,19 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include "moduleinfo.h" #include <stdio.h> #include <stdlib.h> -#include <gmodule.h> #include <ctype.h> #include <time.h> #include <string.h> + +#include <glib.h> #include <epan/packet.h> #include <epan/addr_resolv.h> #include <epan/prefs.h> #include <epan/strutil.h> -/* Define version if we are not building ethereal statically */ - -#ifndef ENABLE_STATIC -G_MODULE_EXPORT const gchar version[] = VERSION; -#endif - /* Define udp_port for lawful intercept */ #define UDP_PORT_PCLI 9000 @@ -169,26 +163,3 @@ proto_reg_handoff_pcli(void) { dissector_add("udp.port",global_udp_port_pcli,pcli_handle); } - -/* Start the functions we need for the plugin stuff */ - -#ifndef ENABLE_STATIC - -G_MODULE_EXPORT void -plugin_register(void) -{ - /* register the new protocol, protocol fields, and subtrees */ - if (proto_pcli == -1) { /* execute protocol initialization only once */ - proto_register_pcli(); - } -} - -G_MODULE_EXPORT void -plugin_reg_handoff(void){ - proto_reg_handoff_pcli(); -} - -#endif - -/* End the functions we need for plugin stuff */ - |