diff options
author | Tim Potter <tpot@samba.org> | 2002-02-21 18:39:49 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-02-21 18:39:49 +0000 |
commit | 15c2a5a65139a8826defd4e0aaa0d67be5e7c40a (patch) | |
tree | a211ae67c35a72d7361783d56372a3774604cc24 /packet-smb-common.h | |
parent | d3b5ddbef18ac215104fe8777d708c7e641d182f (diff) |
Export dissect_nt_sec_desc() so it can be used by other dissectors.
A NT security descriptor can be either revision 1 or 2 and seem to be the
same format on the wire.
svn path=/trunk/; revision=4768
Diffstat (limited to 'packet-smb-common.h')
-rw-r--r-- | packet-smb-common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packet-smb-common.h b/packet-smb-common.h index f8979f62c1..94719e3f96 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.8 2002/01/28 00:58:46 guy Exp $ + * $Id: packet-smb-common.h,v 1.9 2002/02/21 18:39:49 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -62,4 +62,7 @@ int dissect_smb_64bit_time(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int dissect_nt_sid(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, char *name); +int +dissect_nt_sec_desc(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, int len); + #endif |