aboutsummaryrefslogtreecommitdiffstats
path: root/proto.h
diff options
context:
space:
mode:
authorLaurent Deniel <laurent.deniel@free.fr>2000-08-10 16:04:33 +0000
committerLaurent Deniel <laurent.deniel@free.fr>2000-08-10 16:04:33 +0000
commit4dcd76ae4be6428ccd95e74c22388b8522bedde3 (patch)
treec92c0bf76918e44294ea656429956ab4388f0b2c /proto.h
parentc1f7e92131c27d81e03ce7aac95d6418320998f1 (diff)
downloadwireshark-4dcd76ae4be6428ccd95e74c22388b8522bedde3.tar.gz
wireshark-4dcd76ae4be6428ccd95e74c22388b8522bedde3.tar.bz2
wireshark-4dcd76ae4be6428ccd95e74c22388b8522bedde3.zip
- add proto_tree_add_text_valist
- remove stdarg.h include in proto.c and add a more correct one in proto.h - fix esis_dissect_unknown and isis_dissect_unknown svn path=/trunk/; revision=2245
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 7ad266f9e6..8bfc9c6aee 100644
--- a/proto.h
+++ b/proto.h
@@ -1,7 +1,7 @@
/* proto.h
* Definitions for protocol display
*
- * $Id: proto.h,v 1.37 2000/07/27 06:41:59 gram Exp $
+ * $Id: proto.h,v 1.38 2000/08/10 16:04:32 deniel Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -33,6 +33,12 @@
# endif
#endif
+#ifdef HAVE_STDARG_H
+# include <stdarg.h>
+#else
+# include <varargs.h>
+#endif
+
#ifdef HAVE_WINSOCK_H
# include <winsock.h>
#endif
@@ -440,6 +446,9 @@ proto_tree_add_text(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, co
...);
#endif
+proto_item *
+proto_tree_add_text_valist(proto_tree *tree, tvbuff_t *tvb, gint start,
+ gint length, const char *format, va_list ap);
/* Add a node with no text */
proto_item *