diff options
author | Tim Potter <tpot@samba.org> | 2003-02-07 06:01:49 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-02-07 06:01:49 +0000 |
commit | 45d316639a07885753d18a9c30748fa55678069a (patch) | |
tree | 20ccb6e2d6887b99de3fb09ba0d2eb5d117e0fe3 /packet-dcerpc-nt.h | |
parent | 835c8d03fec24cedff038aa83cd904e3679ef595 (diff) | |
download | wireshark-45d316639a07885753d18a9c30748fa55678069a.tar.gz wireshark-45d316639a07885753d18a9c30748fa55678069a.tar.bz2 wireshark-45d316639a07885753d18a9c30748fa55678069a.zip |
Move dissect_nt_access_mask() from packet-dcerpc-nt.c to packet-smb.c
Give dissect_nt_sec_desc() and dissect_nt_access_mask() a specific rights
function parameter for dissecting specific access rights.
Fix callers in packet-smb.c to use the new interface.
svn path=/trunk/; revision=7086
Diffstat (limited to 'packet-dcerpc-nt.h')
-rw-r--r-- | packet-dcerpc-nt.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/packet-dcerpc-nt.h b/packet-dcerpc-nt.h index e2a0650a65..c502565522 100644 --- a/packet-dcerpc-nt.h +++ b/packet-dcerpc-nt.h @@ -2,7 +2,7 @@ * Routines for DCERPC over SMB packet disassembly * Copyright 2001-2003 Tim Potter <tpot@samba.org> * - * $Id: packet-dcerpc-nt.h,v 1.38 2003/02/03 02:00:54 tpot Exp $ + * $Id: packet-dcerpc-nt.h,v 1.39 2003/02/07 06:01:49 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -170,16 +170,6 @@ int dissect_ndr_uint16s(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, char *drep, int hfindex, int length); -/* Dissect an NT access mask */ - -typedef void (nt_access_mask_fn_t)(tvbuff_t *tvb, gint offset, - proto_tree *tree, guint32 access); - -int -dissect_nt_access_mask(tvbuff_t *tvb, gint offset, packet_info *pinfo, - proto_tree *tree, char *drep, int hfindex, - nt_access_mask_fn_t *specific_rights_fn); - int dissect_ndr_str_pointer_item(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, char *drep, int type, char *text, |