diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-12-10 19:50:20 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-12-10 19:50:20 +0000 |
commit | 9bdd3bbde1dbdfbeee75915d9ca7cc95233523e6 (patch) | |
tree | 6de35c249a707e58c20f62562c93a8ca0c666315 /epan/dissectors | |
parent | 17a67c3b5cb80619ab7e1260a05a28e888cee09e (diff) |
- Forward declaration of register functions.
svn path=/trunk/; revision=53911
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-tzsp.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-ua.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-ua3g.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-uasip.c | 1 | ||||
-rw-r--r-- | epan/dissectors/packet-uaudp.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-udld.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-udt.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-uma.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-umts_fp.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-usb-video.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-user_encap.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-vlan.c | 1 | ||||
-rw-r--r-- | epan/dissectors/packet-vntag.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-vrrp.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-vrt.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-vssmonitoring.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-vtp.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-vuze-dht.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-vxi11.c | 7 | ||||
-rw-r--r-- | epan/dissectors/packet-vxlan.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-wai.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-wassp.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-waveagent.c | 3 |
23 files changed, 60 insertions, 4 deletions
diff --git a/epan/dissectors/packet-tzsp.c b/epan/dissectors/packet-tzsp.c index ef65f50487..6af754c394 100644 --- a/epan/dissectors/packet-tzsp.c +++ b/epan/dissectors/packet-tzsp.c @@ -43,6 +43,9 @@ #define UDP_PORT_TZSP 0x9090 +void proto_register_tzsp(void); +void proto_reg_handoff_tzsp(void); + static int proto_tzsp = -1; static int hf_tzsp_version = -1; static int hf_tzsp_type = -1; diff --git a/epan/dissectors/packet-ua.c b/epan/dissectors/packet-ua.c index 5e9ad29733..61ebf4c417 100644 --- a/epan/dissectors/packet-ua.c +++ b/epan/dissectors/packet-ua.c @@ -35,6 +35,8 @@ #include "packet-uaudp.h" +void proto_register_ua_msg(void); +void proto_reg_handoff_ua_msg(void); /*----------------------------------------------------------------------------- GLOBALS ---------------------------------------------------------------------------*/ diff --git a/epan/dissectors/packet-ua3g.c b/epan/dissectors/packet-ua3g.c index f7a15f34f4..9ebd5b5718 100644 --- a/epan/dissectors/packet-ua3g.c +++ b/epan/dissectors/packet-ua3g.c @@ -33,7 +33,8 @@ #include "epan/wmem/wmem.h" #include "packet-uaudp.h" - +void proto_register_ua3g(void); +void proto_reg_handoff_ua3g(void); /*----------------------------------------------------------------------------- Globals ---------------------------------------------------------------------------*/ diff --git a/epan/dissectors/packet-uasip.c b/epan/dissectors/packet-uasip.c index fdc2939cdd..8ab38ffc8b 100644 --- a/epan/dissectors/packet-uasip.c +++ b/epan/dissectors/packet-uasip.c @@ -48,6 +48,7 @@ #include "packet-uaudp.h" +void proto_register_uasip(void); void proto_reg_handoff_uasip(void); static tap_struct_uaudp ua_tap_info; diff --git a/epan/dissectors/packet-uaudp.c b/epan/dissectors/packet-uaudp.c index 1357788156..8e9eb7e7b5 100644 --- a/epan/dissectors/packet-uaudp.c +++ b/epan/dissectors/packet-uaudp.c @@ -33,6 +33,8 @@ #include "packet-uaudp.h" +void proto_register_uaudp(void); + /* GLOBALS */ #if 0 diff --git a/epan/dissectors/packet-udld.c b/epan/dissectors/packet-udld.c index de26723089..7b5c909025 100644 --- a/epan/dissectors/packet-udld.c +++ b/epan/dissectors/packet-udld.c @@ -45,6 +45,9 @@ #define TLV_TYPE 0 #define TLV_LENGTH 2 +void proto_register_udld(void); +void proto_reg_handoff_udld(void); + static int proto_udld = -1; static int hf_udld_version = -1; static int hf_udld_opcode = -1; diff --git a/epan/dissectors/packet-udt.c b/epan/dissectors/packet-udt.c index 74c2dfaf6e..fb040f97f6 100644 --- a/epan/dissectors/packet-udt.c +++ b/epan/dissectors/packet-udt.c @@ -51,6 +51,9 @@ #define UDT_HANDSHAKE_TYPE_STREAM 0 #define UDT_HANDSHAKE_TYPE_DGRAM 1 +void proto_register_udt(void); +void proto_reg_handoff_udt(void); + static const value_string udt_packet_types[] = { {UDT_PACKET_TYPE_HANDSHAKE, "handshake"}, {UDT_PACKET_TYPE_KEEPALIVE, "keepalive"}, diff --git a/epan/dissectors/packet-uma.c b/epan/dissectors/packet-uma.c index 44887ccc07..df1c923717 100644 --- a/epan/dissectors/packet-uma.c +++ b/epan/dissectors/packet-uma.c @@ -70,6 +70,9 @@ #include "packet-tcp.h" #include "packet-rrc.h" +void proto_register_uma(void); +void proto_reg_handoff_uma(void); + /* Length field is 2 bytes and comes first */ #define UMA_HEADER_SIZE 2 static gboolean uma_desegment = TRUE; diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c index 2692abb5f4..1b7d511430 100644 --- a/epan/dissectors/packet-umts_fp.c +++ b/epan/dissectors/packet-umts_fp.c @@ -52,8 +52,8 @@ * for channels that doesn't have the C/T flag! This should be based * on the RRC message RadioBearerSetup. */ -void proto_register_umts_fp(void); -void proto_reg_handoff_umts_fp(void); +void proto_register_fp(void); +void proto_reg_handoff_fp(void); /* Initialize the protocol and registered fields. */ diff --git a/epan/dissectors/packet-usb-video.c b/epan/dissectors/packet-usb-video.c index 33f82c2150..6480f4c0c8 100644 --- a/epan/dissectors/packet-usb-video.c +++ b/epan/dissectors/packet-usb-video.c @@ -214,6 +214,9 @@ #define USB_SETUP_GET_RES_ALL 0x94 /* UVC 1.5 */ #define USB_SETUP_GET_DEF_ALL 0x97 /* UVC 1.5 */ +void proto_reg_handoff_usb_vid(void); +void proto_reg_handoff_usb_vid(void); + /* protocols and header fields */ static int proto_usb_vid = -1; diff --git a/epan/dissectors/packet-user_encap.c b/epan/dissectors/packet-user_encap.c index c9a8bc0f90..11cb5e03a8 100644 --- a/epan/dissectors/packet-user_encap.c +++ b/epan/dissectors/packet-user_encap.c @@ -37,6 +37,9 @@ #pragma warning(disable:4090) #endif +void proto_register_user_encap(void); +void proto_reg_handoff_user_encap(void); + typedef struct _user_encap_t { guint encap; char* payload_proto_name; diff --git a/epan/dissectors/packet-vlan.c b/epan/dissectors/packet-vlan.c index b075b2b925..ddaf98d09b 100644 --- a/epan/dissectors/packet-vlan.c +++ b/epan/dissectors/packet-vlan.c @@ -38,6 +38,7 @@ #include <epan/prefs.h> void proto_reg_handoff_vlan(void); +void proto_reg_handoff_vlan(void); static unsigned int q_in_q_ethertype = 0x9100; diff --git a/epan/dissectors/packet-vntag.c b/epan/dissectors/packet-vntag.c index 34ef62426f..2a74fd83bc 100644 --- a/epan/dissectors/packet-vntag.c +++ b/epan/dissectors/packet-vntag.c @@ -27,6 +27,9 @@ #include <epan/packet.h> #include <epan/etypes.h> +void proto_register_vntag(void); +void proto_reg_handoff_vntag(void); + static dissector_handle_t ethertype_handle; static int proto_vntag = -1; diff --git a/epan/dissectors/packet-vrrp.c b/epan/dissectors/packet-vrrp.c index aebb0b897a..617e69de95 100644 --- a/epan/dissectors/packet-vrrp.c +++ b/epan/dissectors/packet-vrrp.c @@ -35,6 +35,9 @@ #include <epan/in_cksum.h> #include <epan/expert.h> +void proto_register_vrrp(void); +void proto_reg_handoff_vrrp(void); + static gint proto_vrrp = -1; static gint ett_vrrp = -1; static gint ett_vrrp_ver_type = -1; diff --git a/epan/dissectors/packet-vrt.c b/epan/dissectors/packet-vrt.c index 215b9e29a1..0679393c37 100644 --- a/epan/dissectors/packet-vrt.c +++ b/epan/dissectors/packet-vrt.c @@ -32,6 +32,8 @@ #include <epan/packet.h> #include <epan/prefs.h> +void proto_register_vrt(void); + static gint dissector_port_pref = 4991; static int proto_vrt = -1; diff --git a/epan/dissectors/packet-vssmonitoring.c b/epan/dissectors/packet-vssmonitoring.c index 4ab7c6e72e..8ffca4bd73 100644 --- a/epan/dissectors/packet-vssmonitoring.c +++ b/epan/dissectors/packet-vssmonitoring.c @@ -48,6 +48,8 @@ static const value_string clksrc_vals[] = { { 0, NULL } }; +void proto_register_vssmonitoring(void); +void proto_reg_handoff_vssmonitoring(void); static int proto_vssmonitoring = -1; diff --git a/epan/dissectors/packet-vtp.c b/epan/dissectors/packet-vtp.c index ef476ed492..ede8e190c3 100644 --- a/epan/dissectors/packet-vtp.c +++ b/epan/dissectors/packet-vtp.c @@ -36,6 +36,8 @@ * * for some information on VTP. */ +void proto_register_vtp(void); +void proto_reg_handoff_vtp(void); static int proto_vtp = -1; static int hf_vtp_version = -1; diff --git a/epan/dissectors/packet-vuze-dht.c b/epan/dissectors/packet-vuze-dht.c index 594ea1fddb..76cb79a554 100644 --- a/epan/dissectors/packet-vuze-dht.c +++ b/epan/dissectors/packet-vuze-dht.c @@ -29,6 +29,8 @@ #define DEFAULT_UDP_PORT 11273 +void proto_register_vuze_dht(void); + /* --- protocol specification: * http://wiki.vuze.com/w/Distributed_hash_table */ diff --git a/epan/dissectors/packet-vxi11.c b/epan/dissectors/packet-vxi11.c index 75bf295b24..91fead15e7 100644 --- a/epan/dissectors/packet-vxi11.c +++ b/epan/dissectors/packet-vxi11.c @@ -97,6 +97,13 @@ #define VXI11_CORE_PROGRAM 0x0607AF #define VXI11_CORE_VERSION 1 +void proto_register_vxi11_core(void); +void proto_reg_handoff_vxi11_core(void); +void proto_register_vxi11_async(void); +void proto_reg_handoff_vxi11_async(void); +void proto_register_vxi11_intr(void); +void proto_reg_handoff_vxi11_intr(void); + static int proto_vxi11_core = -1; static gint ett_vxi11_core = -1; diff --git a/epan/dissectors/packet-vxlan.c b/epan/dissectors/packet-vxlan.c index 45e6e0298c..c73a34cab5 100644 --- a/epan/dissectors/packet-vxlan.c +++ b/epan/dissectors/packet-vxlan.c @@ -31,7 +31,8 @@ #include <epan/packet.h> - +void proto_register_vxlan(void); +void proto_reg_handoff_vxlan(void); static int proto_vxlan = -1; diff --git a/epan/dissectors/packet-wai.c b/epan/dissectors/packet-wai.c index c4d18efcd1..0440e3909b 100644 --- a/epan/dissectors/packet-wai.c +++ b/epan/dissectors/packet-wai.c @@ -61,6 +61,9 @@ #define FLAG_BIT6 0x40 #define FLAG_BIT7 0x80 +void proto_register_wai(void); +void proto_reg_handoff_wai(void); + static reassembly_table wai_reassembly_table; static dissector_handle_t wai_handle; diff --git a/epan/dissectors/packet-wassp.c b/epan/dissectors/packet-wassp.c index 8679292a54..2b0efc851f 100644 --- a/epan/dissectors/packet-wassp.c +++ b/epan/dissectors/packet-wassp.c @@ -51,6 +51,9 @@ #include <epan/expert.h> #include <epan/show_exception.h> +void proto_register_wassp(void); +void proto_reg_handoff_wassp(void); + /* protocol handles */ static int proto_wassp = -1; diff --git a/epan/dissectors/packet-waveagent.c b/epan/dissectors/packet-waveagent.c index bae56fd856..b89a46fe7b 100644 --- a/epan/dissectors/packet-waveagent.c +++ b/epan/dissectors/packet-waveagent.c @@ -43,6 +43,9 @@ #define WA_V2_PAYLOAD_OFFSET 40 #define WA_V3_PAYLOAD_OFFSET 44 +void proto_register_waveagent(void); +void proto_reg_handoff_waveagent(void); + /* Initialize the protocol and registered fields */ static int proto_waveagent = -1; static int hf_waveagent_controlword = -1; |