aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-per.h
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2007-12-28 10:42:44 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2007-12-28 10:42:44 +0000
commit7529f334379c34ca3b5e906b31879a8f5944a8de (patch)
tree3bb0fa787a1066c5bc2b5a3afc519403a65b014a /epan/dissectors/packet-per.h
parentcec1f884e98d111ed384cf1ec395e44620ad4964 (diff)
support for additionally SIZE constrained Typereference
the support is only semiautomated as this feature does not occur very often use this feature for the TBCD-STRING in the H.225 dissector svn path=/trunk/; revision=23958
Diffstat (limited to 'epan/dissectors/packet-per.h')
-rw-r--r--epan/dissectors/packet-per.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-per.h b/epan/dissectors/packet-per.h
index 68416b9b10..1b89e9eeac 100644
--- a/epan/dissectors/packet-per.h
+++ b/epan/dissectors/packet-per.h
@@ -124,4 +124,7 @@ extern guint32 dissect_per_open_type_pdu_new(tvbuff_t *tvb, guint32 offset, asn1
extern guint32 dissect_per_external_type(tvbuff_t *tvb, guint32 offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index, per_type_fn type_cb);
+extern guint32 dissect_per_size_constrained_type(tvbuff_t *tvb, guint32 offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index, per_type_fn type_cb, const gchar *name, int min_len, int max_len, gboolean has_extension);
+extern gboolean get_size_constraint_from_stack(asn1_ctx_t *actx, const gchar *name, int *pmin_len, int *pmax_len, gboolean *phas_extension);
+
#endif /* __PACKET_PER_H__ */