diff options
Diffstat (limited to 'epan/dissectors/packet-per.h')
-rw-r--r-- | epan/dissectors/packet-per.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-per.h b/epan/dissectors/packet-per.h index bc3fe2a463..ea1c953685 100644 --- a/epan/dissectors/packet-per.h +++ b/epan/dissectors/packet-per.h @@ -56,6 +56,7 @@ if (check_col(actx->pinfo->cinfo, COL_INFO)){ \ tvb_get_guint8(tvb, 9999); typedef int (*per_callback)(tvbuff_t *, int, asn_ctx_t *, proto_tree *); +typedef int (*per_type_fn)(tvbuff_t*, int, asn_ctx_t*, proto_tree*, int); /* in all functions here, offset is guint32 and is byteposition<<3 + bitposition @@ -133,4 +134,6 @@ extern guint32 dissect_per_restricted_character_string(tvbuff_t *tvb, guint32 of extern guint32 dissect_per_enumerated(tvbuff_t *tvb, guint32 offset, asn_ctx_t *actx, proto_tree *tree, int hf_index, guint32 root_num, guint32 *value, gboolean has_extension, guint32 ext_num, guint32 *value_map); +extern guint32 dissect_per_open_type(tvbuff_t *tvb, guint32 offset, asn_ctx_t *actx, proto_tree *tree, int hf_index, per_type_fn type); + #endif /* __PACKET_PER_H__ */ |