diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-08-10 21:15:37 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-08-10 21:15:37 +0000 |
commit | 2cfb231081ebc74b6812a346ee32cfafb1a5ca9a (patch) | |
tree | bf42878d925ca8d64680332c93677496722f03a2 /packet-smb-common.h | |
parent | ab5e55b841bf2a22b14b0085b23b942906375be1 (diff) | |
download | wireshark-2cfb231081ebc74b6812a346ee32cfafb1a5ca9a.tar.gz |
From Devin Heitmueller: dissect NTLMSSP authentication messages, and handle
the flags field in NTLMSSP messages as a 32-bit field.
Make "get_unicode_or_ascii_string()" take a "Unicode or not" flag rather
than a "packet_info *" as an argument, make it not static, and move it
to "packet-smb-common.c", so that it can be used by the SMB dissector
and the NTLMSSP dissector. Also get rid of some _U_'s that are applied
to arguments that are, in fact, used.
svn path=/trunk/; revision=5976
Diffstat (limited to 'packet-smb-common.h')
-rw-r--r-- | packet-smb-common.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-smb-common.h b/packet-smb-common.h index dc4658d945..c948f5442e 100644 --- a/packet-smb-common.h +++ b/packet-smb-common.h @@ -2,7 +2,7 @@ * Routines for SMB packet dissection * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com> * - * $Id: packet-smb-common.h,v 1.13 2002/08/02 23:36:01 jmayer Exp $ + * $Id: packet-smb-common.h,v 1.14 2002/08/10 21:15:37 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -49,6 +49,10 @@ int display_unicode_string(tvbuff_t *tvb, proto_tree *tree, int offset, int hf_i int display_ms_string(tvbuff_t *tvb, proto_tree *tree, int offset, int hf_index); +const gchar *get_unicode_or_ascii_string(tvbuff_t *tvb, int *offsetp, + gboolean useunicode, int *len, gboolean nopad, gboolean exactlen, + guint16 *bcp); + int dissect_smb_64bit_time(tvbuff_t *tvb, proto_tree *tree, int offset, int hf_date); int dissect_nt_sid(tvbuff_t *tvb, int offset, proto_tree *parent_tree, char *name); |