aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-per.h
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2005-11-14 13:05:17 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2005-11-14 13:05:17 +0000
commit97584210fbdae40c98945ef0463de134079e4841 (patch)
treeda1aa097c8ac572bced369fbd6e317d2bdd19346 /epan/dissectors/packet-per.h
parentf4e55c11550f20e60a485b83b33e0ce0b777726a (diff)
improvements in value constraint support
- NO_BOUND is defined instead of usage -1 - negative bound is handled properly for INTEGER svn path=/trunk/; revision=16505
Diffstat (limited to 'epan/dissectors/packet-per.h')
-rw-r--r--epan/dissectors/packet-per.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-per.h b/epan/dissectors/packet-per.h
index a0856589a8..8deda0661d 100644
--- a/epan/dissectors/packet-per.h
+++ b/epan/dissectors/packet-per.h
@@ -40,6 +40,10 @@ typedef int (*per_callback)(tvbuff_t *, int, packet_info *, proto_tree *);
byteposition<<3 + bitposition
*/
+/* value for value and size constraints */
+#define NO_BOUND -1
+
+
/* values for extensions */
#define ASN1_NO_EXTENSIONS 0
#define ASN1_EXTENSION_ROOT 1