aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dns.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@itojun.org>2000-08-22 08:28:45 +0000
committerJun-ichiro itojun Hagino <itojun@itojun.org>2000-08-22 08:28:45 +0000
commit52101799a77e0daa7e0ea5236e1d9802516a96e1 (patch)
treee9cc49feed2b5d4c4672c2b99b4ec2581769d9a4 /packet-dns.h
parent6767faac0c8a9c13af5587f2e3874f60f150707c (diff)
downloadwireshark-52101799a77e0daa7e0ea5236e1d9802516a96e1.tar.gz
wireshark-52101799a77e0daa7e0ea5236e1d9802516a96e1.tar.bz2
wireshark-52101799a77e0daa7e0ea5236e1d9802516a96e1.zip
prototype declarations should have no variables names, as #define
could play in a strange way (it happens, really). svn path=/trunk/; revision=2337
Diffstat (limited to 'packet-dns.h')
-rw-r--r--packet-dns.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/packet-dns.h b/packet-dns.h
index 523e9a1e1b..9585e2ec04 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.8 2000/04/04 06:17:28 guy Exp $
+ * $Id: packet-dns.h,v 1.9 2000/08/22 08:28:45 itojun Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -30,14 +30,12 @@
char *dns_class_name(int class);
-int get_dns_name(const u_char *pd, int offset, int dns_data_offset,
- char *name, int maxname);
+int get_dns_name(const u_char *, int, int, char *, int);
#define MAXDNAME 1025 /* maximum domain name length */
proto_tree *
-add_rr_to_tree(proto_item *trr, int rr_type, int offset, const char *name,
- int namelen, const char *type_name, const char *class_name, u_int ttl,
- u_short data_len);
+add_rr_to_tree(proto_item *, int, int, const char *,
+ int, const char *, const char *, u_int, u_short);
#endif /* packet-dns.h */