aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dns.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-07-02 07:11:40 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-07-02 07:11:40 +0000
commit29a766ead892ee0e2680875bc983edad3d0c17e2 (patch)
tree90b42bb9849ef3e3ebf9768c307afb601d97d14a /packet-dns.h
parentbb9afe03d7bf216ca7fec82a1e92c43bc86b516b (diff)
Tvbuffify the DNS, NBNS, NBDS, and NBSS dissectors.
Add a "tvb_memeql()" routine, for doing "memcmp()"-style equality comparisons. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3631 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-dns.h')
-rw-r--r--packet-dns.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-dns.h b/packet-dns.h
index 9585e2ec04..85248effae 100644
--- a/packet-dns.h
+++ b/packet-dns.h
@@ -2,7 +2,7 @@
* Definitions for packet disassembly structures and routines used both by
* DNS and NBNS.
*
- * $Id: packet-dns.h,v 1.9 2000/08/22 08:28:45 itojun Exp $
+ * $Id: packet-dns.h,v 1.10 2001/07/02 07:11:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -30,12 +30,12 @@
char *dns_class_name(int class);
-int get_dns_name(const u_char *, int, int, char *, int);
+int get_dns_name(tvbuff_t *, int, int, char *, int);
#define MAXDNAME 1025 /* maximum domain name length */
proto_tree *
-add_rr_to_tree(proto_item *, int, int, const char *,
+add_rr_to_tree(proto_item *, int, tvbuff_t *, int, const char *,
int, const char *, const char *, u_int, u_short);
#endif /* packet-dns.h */