diff options
-rw-r--r-- | epan/dissectors/packet-per.c | 8 | ||||
-rw-r--r-- | epan/dissectors/packet-per.h | 4 | ||||
-rw-r--r-- | plugins/plugin_api_list.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-per.c b/epan/dissectors/packet-per.c index 2b8e5df412..a0cf8e9b3d 100644 --- a/epan/dissectors/packet-per.c +++ b/epan/dissectors/packet-per.c @@ -886,7 +886,7 @@ DEBUG_ENTRY("dissect_per_constrained_integer"); 22.8 extension marker == 1 */ guint32 -dissect_per_choice(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, gint ett_index, per_choice_t *choice, char *name, guint32 *value) +dissect_per_choice(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, gint ett_index, const per_choice_t *choice, char *name, guint32 *value) { gboolean extension_present, extension_flag; int extension_root_entries; @@ -1037,7 +1037,7 @@ printf("new_offset:%d offset:%d length*8:%d\n",new_offset,offset,length*8); static char * -index_get_optional_name(per_sequence_t *sequence, int index) +index_get_optional_name(const per_sequence_t *sequence, int index) { int i; @@ -1053,7 +1053,7 @@ index_get_optional_name(per_sequence_t *sequence, int index) } static char * -index_get_extension_name(per_sequence_t *sequence, int index) +index_get_extension_name(const per_sequence_t *sequence, int index) { int i; @@ -1081,7 +1081,7 @@ index_get_extension_name(per_sequence_t *sequence, int index) 18.9 */ guint32 -dissect_per_sequence(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *parent_tree, int hf_index, gint ett_index, per_sequence_t *sequence) +dissect_per_sequence(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *parent_tree, int hf_index, gint ett_index, const per_sequence_t *sequence) { gboolean extension_present, extension_flag, optional_field_flag; proto_item *item; diff --git a/epan/dissectors/packet-per.h b/epan/dissectors/packet-per.h index 1aa640af81..682a0a7beb 100644 --- a/epan/dissectors/packet-per.h +++ b/epan/dissectors/packet-per.h @@ -90,9 +90,9 @@ extern guint32 dissect_per_integer(tvbuff_t *tvb, guint32 offset, packet_info *p extern guint32 dissect_per_constrained_integer(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, guint32 min, guint32 max, guint32 *value, proto_item **item, gboolean has_extension); -extern guint32 dissect_per_choice(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, gint ett_index, per_choice_t *choice, char *name, guint32 *value); +extern guint32 dissect_per_choice(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, gint ett_index, const per_choice_t *choice, char *name, guint32 *value); -extern guint32 dissect_per_sequence(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *parent_tree, int hf_index, gint ett_index, per_sequence_t *sequence); +extern guint32 dissect_per_sequence(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *parent_tree, int hf_index, gint ett_index, const per_sequence_t *sequence); extern guint32 dissect_per_octet_string(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, int min_len, int max_len, guint32 *value_offset, guint32 *value_len); diff --git a/plugins/plugin_api_list.c b/plugins/plugin_api_list.c index ea2c3cf49e..947dac79cb 100644 --- a/plugins/plugin_api_list.c +++ b/plugins/plugin_api_list.c @@ -373,8 +373,8 @@ guint32 dissect_per_object_identifier(tvbuff_t*, guint32, packet_info*, proto_tr guint32 dissect_per_boolean(tvbuff_t*, guint32, packet_info *pinfo, proto_tree*, int, gboolean*, proto_item**); guint32 dissect_per_integer(tvbuff_t*, guint32, packet_info*, proto_tree*, int, gint32*, proto_item**); guint32 dissect_per_constrained_integer(tvbuff_t*, guint32, packet_info*, proto_tree*, int, guint32, guint32, guint32*, proto_item**, gboolean); -guint32 dissect_per_choice(tvbuff_t*, guint32, packet_info*, proto_tree*, int, gint, per_choice_t*, char*, guint32*); -guint32 dissect_per_sequence(tvbuff_t*, guint32, packet_info*, proto_tree *parent_tree, int, gint, per_sequence_t*); +guint32 dissect_per_choice(tvbuff_t*, guint32, packet_info*, proto_tree*, int, gint, const per_choice_t*, char*, guint32*); +guint32 dissect_per_sequence(tvbuff_t*, guint32, packet_info*, proto_tree *parent_tree, int, gint, const per_sequence_t*); guint32 dissect_per_octet_string(tvbuff_t*, guint32, packet_info*, proto_tree*, int, int, int, guint32*, guint32*); guint32 dissect_per_restricted_character_string(tvbuff_t*, guint32, packet_info*, proto_tree*, int, int, int, char*, int); |