diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-11-10 21:09:49 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-11-10 21:09:49 +0000 |
commit | 6b0b5015194d79d31d05aa2e66ef44421512be3d (patch) | |
tree | f6ffc068acbe1af69d4b9b92967cf03dfa64a54f /packet-netbios.h | |
parent | 2d5fa23dee7d9c4958f986b20b83ccf721a9f3ed (diff) |
Fix "packet-netbios.h" to match the new "packet-netbios.c", so that it
compiles.
Doing so reveals that the NBIPX dissector needs to be fixed, as it calls
routines in "packet-netbios.c" whose calling sequence changed; doing so
involves tvbuffifying it.
svn path=/trunk/; revision=2602
Diffstat (limited to 'packet-netbios.h')
-rw-r--r-- | packet-netbios.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-netbios.h b/packet-netbios.h index 6a4cdfaf27..c76b4d0c72 100644 --- a/packet-netbios.h +++ b/packet-netbios.h @@ -5,7 +5,7 @@ * * derived from the packet-nbns.c * - * $Id: packet-netbios.h,v 1.7 2000/08/11 13:34:05 deniel Exp $ + * $Id: packet-netbios.h,v 1.8 2000/11/10 21:09:49 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -36,10 +36,10 @@ void capture_netbios(const u_char *, int, packet_counts *); extern int process_netbios_name(const u_char *name_ptr, char *name_ret); -extern int get_netbios_name(const u_char *data_ptr, int offset, +extern int get_netbios_name(tvbuff_t *tvb, int offset, char *name_ret); extern char *netbios_name_type_descr(int name_type); -extern gboolean netbios_add_name( char* label, const u_char *pd, int offset, +extern gboolean netbios_add_name( char* label, tvbuff_t *tvb, int offset, proto_tree *tree); #endif |