diff options
author | Tim Potter <tpot@samba.org> | 2003-04-03 02:22:30 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-04-03 02:22:30 +0000 |
commit | dd038966d7fb446dc2a3e10b0864deb48e6d851b (patch) | |
tree | 0051fcb6f8bc4e3b4c2e832a3d9f3ec446f089d0 /packet-smb-common.h | |
parent | 7e4d87a0d0ec668ec30aa122f7783f499f3360f5 (diff) | |
download | wireshark-dd038966d7fb446dc2a3e10b0864deb48e6d851b.tar.gz wireshark-dd038966d7fb446dc2a3e10b0864deb48e6d851b.tar.bz2 wireshark-dd038966d7fb446dc2a3e10b0864deb48e6d851b.zip |
Add an extra argument to get_ms_string() so we can optionally pass
back the value of the string to the caller.
svn path=/trunk/; revision=7398
Diffstat (limited to 'packet-smb-common.h')
-rw-r--r-- | packet-smb-common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-smb-common.h b/packet-smb-common.h index 959a536daf..1a23671f39 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.17 2003/02/07 06:01:49 tpot Exp $ + * $Id: packet-smb-common.h,v 1.18 2003/04/03 02:22:30 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -47,7 +47,7 @@ int dissect_smb_unknown(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int int display_unicode_string(tvbuff_t *tvb, proto_tree *tree, int offset, int hf_index); -int display_ms_string(tvbuff_t *tvb, proto_tree *tree, int offset, int hf_index); +int display_ms_string(tvbuff_t *tvb, proto_tree *tree, int offset, int hf_index, char **data); const gchar *get_unicode_or_ascii_string(tvbuff_t *tvb, int *offsetp, gboolean useunicode, int *len, gboolean nopad, gboolean exactlen, |