#include "config.h"
#endif
-#include "plugins/plugin_api.h"
-
#include "moduleinfo.h"
#include <stdio.h>
#include <epan/tap.h>
#include "packet-mgcp.h"
-#include "plugins/plugin_api_defs.h"
-
#ifndef ENABLE_STATIC
G_MODULE_EXPORT const gchar version[] = VERSION;
#endif
}
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_mgcp == -1) { /* execute protocol initialization only once */
proto_register_mgcp();