aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mtp3.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-08-31 12:24:48 -0700
committerGerald Combs <gerald@wireshark.org>2015-08-31 23:06:09 +0000
commit377d215e0fd1022a093fa44b32f396948e70c119 (patch)
tree4a798c715645ec953e1ae447ddec555c3f509bbb /epan/dissectors/packet-mtp3.h
parente9614ad7bad3078876c370a5e2f697fb61664322 (diff)
Convert the MTP3 stats to new "generic stat API".
Convert both the MTP3 statistics and summary. As with the GSM stats this is mostly untested. Change-Id: I7af8d5f21c8161dc95f7f2c710f32364b6f6a431 Reviewed-on: https://code.wireshark.org/review/10338 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/dissectors/packet-mtp3.h')
-rw-r--r--epan/dissectors/packet-mtp3.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/epan/dissectors/packet-mtp3.h b/epan/dissectors/packet-mtp3.h
index 0a02cd2c63..e5270d3a5b 100644
--- a/epan/dissectors/packet-mtp3.h
+++ b/epan/dissectors/packet-mtp3.h
@@ -18,8 +18,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef __PACKET_MTP3_H_
-#define __PACKET_MTP3_H_
+#ifndef __PACKET_MTP3_H__
+#define __PACKET_MTP3_H__
#include "ws_symbol_export.h"
@@ -74,6 +74,10 @@ typedef struct _mtp3_tap_rec_t {
#define JAPAN_PC_LENGTH 2
#define JAPAN_PC_MASK 0xffff
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
WS_DLL_PUBLIC void mtp3_addr_to_str_buf(const mtp3_addr_pc_t *addr_pc_p, gchar *buf, int buf_len);
extern void mtp3_pc_to_str_buf(const guint32 pc, gchar *buf, int buf_len);
extern gchar* mtp3_pc_to_str(const guint32 pc);
@@ -126,4 +130,8 @@ WS_DLL_PUBLIC const value_string mtp3_service_indicator_code_short_vals[];
#define MTP3_NI_NAT1 0x3
WS_DLL_PUBLIC const value_string mtp3_network_indicator_vals[];
-#endif
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __PACKET_MTP3_H__ */