diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2004-12-13 21:11:13 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2004-12-13 21:11:13 +0000 |
commit | 9a41dceb4afcd04f408b8cfb6ae9db242f772b35 (patch) | |
tree | 45c1f5155fb5611ed237ce0a57b548e9b80f5a9e | |
parent | fed43e3c1203e963aeebe45b85c855d0ed73e76d (diff) |
change some signatures for some ber helpers from unsigned to signed
svn path=/trunk/; revision=12746
-rw-r--r-- | plugins/plugin_api_list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/plugin_api_list.c b/plugins/plugin_api_list.c index adeb2069d7..1fd6f8d1b7 100644 --- a/plugins/plugin_api_list.c +++ b/plugins/plugin_api_list.c @@ -418,7 +418,7 @@ void report_read_failure(const char *filename, int err); guint32 dissect_per_bit_string(tvbuff_t*, guint32, packet_info*, proto_tree*, int, int, int); -int dissect_ber_identifier(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, guint8 *class, gboolean *pc, guint32 *tag); +int dissect_ber_identifier(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, gint8 *class, gboolean *pc, gint32 *tag); int dissect_ber_length(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, guint32 *length, gboolean *ind); int dissect_ber_integer(gboolean implicit_tag, packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, guint32 *value); int dissect_ber_boolean(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id); @@ -429,9 +429,9 @@ int dissect_ber_sequence_of(gboolean implicit_tag, packet_info *pinfo, proto_tre int dissect_ber_set_of(gboolean implicit_tag, packet_info *pinfo, proto_tree *parent_tree, tvbuff_t *tvb, int offset, const ber_sequence_t *seq, gint hf_id, gint ett_id); int dissect_ber_octet_string(gboolean implicit_tag, packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, tvbuff_t **tvb_out); int dissect_ber_bitstring(gboolean implicit_tag, packet_info *pinfo, proto_tree *parent_tree, tvbuff_t *tvb, int offset, asn_namedbit const *named_bits, gint hf_id, gint ett_id, tvbuff_t **tvb_out); -int dissect_ber_restricted_string(gboolean implicit_tag, guint32 type, packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, tvbuff_t **tvb_out); +int dissect_ber_restricted_string(gboolean implicit_tag, gint32 type, packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, tvbuff_t **tvb_out); int dissect_ber_object_identifier(gboolean implicit_tag, packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, char *value_string); -int get_ber_identifier(tvbuff_t *tvb, int offset, guint8 *class, gboolean *pc, guint32 *tag); +int get_ber_identifier(tvbuff_t *tvb, int offset, gint8 *class, gboolean *pc, gint32 *tag); int get_ber_length(tvbuff_t *tvb, int offset, guint32 *length, gboolean *ind); proto_tree* proto_item_get_subtree(proto_item *ti); proto_item* proto_tree_get_parent(proto_tree *tree); |