aboutsummaryrefslogtreecommitdiffstats
path: root/packet-per.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-03-04 07:07:57 +0000
committerGuy Harris <guy@alum.mit.edu>2004-03-04 07:07:57 +0000
commit36a9a266f439add59d2504504e58b9654c514a14 (patch)
tree892f19921beb78588d21fae7a906ef9e830f3753 /packet-per.h
parent409e955dbb58264e5bccaaf8bb708b984f811e79 (diff)
From Tomas Kukosa: add packet-ber.c routines to the plugin API.
svn path=/trunk/; revision=10295
Diffstat (limited to 'packet-per.h')
-rw-r--r--packet-per.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/packet-per.h b/packet-per.h
index b857bfa81b..c1c52f4ddb 100644
--- a/packet-per.h
+++ b/packet-per.h
@@ -2,7 +2,7 @@
* Routines for dissection of ASN.1 Aligned PER
* 2003 Ronnie Sahlberg
*
- * $Id: packet-per.h,v 1.12 2004/02/16 18:31:39 sahlberg Exp $
+ * $Id: packet-per.h,v 1.13 2004/03/04 07:07:00 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -23,6 +23,9 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifndef __PACKET_PER_H__
+#define __PACKET_PER_H__
+
#define NOT_DECODED_YET(x) \
proto_tree_add_text(tree, tvb, offset, 0, "something unknown here"); \
fprintf(stderr,"Not decoded yet in packet : %d [%s]\n", pinfo->fd->num,x);
@@ -92,3 +95,5 @@ extern guint32 dissect_per_octet_string(tvbuff_t *tvb, guint32 offset, packet_in
extern guint32 dissect_per_bit_string(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, int min_len, int max_len);
extern guint32 dissect_per_restricted_character_string(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, int min_len, int max_len, char *alphabet, int alphabet_length);
+
+#endif /* __PACKET_PER_H__ */