summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gmr1_common.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
commita86c5f7cae7ec9a3398300555a0b644689d946a1 (patch)
tree39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /epan/dissectors/packet-gmr1_common.h
parentReleasing progress-linux version 4.2.6-1~progress7.99u1. (diff)
downloadwireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz
wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-gmr1_common.h')
-rw-r--r--epan/dissectors/packet-gmr1_common.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-gmr1_common.h b/epan/dissectors/packet-gmr1_common.h
index 50029280..a590e2d1 100644
--- a/epan/dissectors/packet-gmr1_common.h
+++ b/epan/dissectors/packet-gmr1_common.h
@@ -56,20 +56,20 @@ extern int hf_gmr1_len;
/* Message & IEs parsing */
-typedef void (*gmr1_msg_func_t)(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, gint offset, gint len);
+typedef void (*gmr1_msg_func_t)(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, int offset, int len);
#define GMR1_IE_FUNC(fn_name) \
- static guint16 \
- fn_name (tvbuff_t *tvb _U_, proto_tree *tree _U_, packet_info *pinfo _U_, guint32 offset _U_, guint len _U_, gchar *add_string _U_, int string_len _U_)
+ static uint16_t \
+ fn_name (tvbuff_t *tvb _U_, proto_tree *tree _U_, packet_info *pinfo _U_, uint32_t offset _U_, unsigned len _U_, char *add_string _U_, int string_len _U_)
#define GMR1_MSG_FUNC(fn_name) \
static void \
- fn_name (tvbuff_t *tvb _U_, proto_tree *tree _U_, packet_info *pinfo _U_, gint offset, gint len)
+ fn_name (tvbuff_t *tvb _U_, proto_tree *tree _U_, packet_info *pinfo _U_, int offset, int len)
#define GMR1_MSG_FUNC_BEGIN \
- gint curr_offset; \
- gint curr_len; \
- gint consumed; \
+ int curr_offset; \
+ int curr_len; \
+ int consumed; \
\
curr_offset = offset; \
curr_len = len; \
@@ -79,7 +79,7 @@ typedef void (*gmr1_msg_func_t)(tvbuff_t *tvb, proto_tree *tree, packet_info *pi
extern void
-gmr1_get_msg_params(gmr1_pd_e pd, guint8 oct, const gchar **msg_str,
+gmr1_get_msg_params(gmr1_pd_e pd, uint8_t oct, const char **msg_str,
int *ett_tree, int *hf_idx, gmr1_msg_func_t *msg_func_p);