-
Notifications
You must be signed in to change notification settings - Fork 4
/
plugin.c
53 lines (41 loc) · 1.57 KB
/
plugin.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
* Do not modify this file. Changes will be overwritten.
*
* Generated automatically from make-plugin-reg.py.
*/
#include "config.h"
#include <gmodule.h>
/* plugins are DLLs on Windows */
#define WS_BUILD_DLL
#include "ws_symbol_export.h"
#include "epan/proto.h"
void proto_register_L16(void);
void proto_register_dis_simple(void);
void proto_register_l11(void);
void proto_register_simple(void);
void proto_reg_handoff_dis_simple(void);
void proto_reg_handoff_l11(void);
void proto_reg_handoff_simple(void);
WS_DLL_PUBLIC_DEF const gchar plugin_version[] = PLUGIN_VERSION;
WS_DLL_PUBLIC_DEF const int plugin_want_major = VERSION_MAJOR;
WS_DLL_PUBLIC_DEF const int plugin_want_minor = VERSION_MINOR;
WS_DLL_PUBLIC void plugin_register(void);
void plugin_register(void)
{
static proto_plugin plug_L16;
plug_L16.register_protoinfo = proto_register_L16;
plug_L16.register_handoff = NULL;
proto_register_plugin(&plug_L16);
static proto_plugin plug_dis_simple;
plug_dis_simple.register_protoinfo = proto_register_dis_simple;
plug_dis_simple.register_handoff = proto_reg_handoff_dis_simple;
proto_register_plugin(&plug_dis_simple);
static proto_plugin plug_l11;
plug_l11.register_protoinfo = proto_register_l11;
plug_l11.register_handoff = proto_reg_handoff_l11;
proto_register_plugin(&plug_l11);
static proto_plugin plug_simple;
plug_simple.register_protoinfo = proto_register_simple;
plug_simple.register_handoff = proto_reg_handoff_simple;
proto_register_plugin(&plug_simple);
}