#include "config.h"
#endif
-#include "plugins/plugin_api.h"
#include "moduleinfo.h"
#include <stdio.h>
#include <epan/dissectors/packet-tcp.h>
-#include "plugins/plugin_api_defs.h"
-
static guint global_agentx_tcp_port = 705;
static guint agentx_tcp_port = 705;
}
G_MODULE_EXPORT void
-plugin_init(plugin_address_table_t *pat
-#ifndef PLUGINS_NEED_ADDRESS_TABLE
-_U_
-#endif
-){
- /* initialise the table of pointers needed in Win32 DLLs */
- plugin_address_table_init(pat);
+new_plugin_init(void)
+{
/* register the new protocol, protocol fields, and subtrees */
if (proto_agentx == -1) { /* execute protocol initialization only once */
proto_register_agentx();