diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-05-11 22:29:43 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-05-11 22:29:43 +0000 |
commit | 55eda0fb0cb4e3a7e388439167dbd8761a7f01ee (patch) | |
tree | 7a05d78e6c4ce46d7312603d18cbc3bb270b546a /packet-dcerpc-nt.h | |
parent | f7c973916ea3979cf700619a8fbeed8a6edad4b6 (diff) |
In "dissect_nt_policy_hnd()":
add arguments to specify whether the policy handle is being
opened or closed, and don't set the "open frame" for the handle
unless it's being opened and don't set the "close frame" for the
handle unless it's being closed;
store the policy handle before fetching it, so that an open or
close is marked appropriately in the protocol tree on the first
pass;
if the policy handle has a name associated with it, put that
name into the top-level item for the policy handle.
In "packet-dcerpc-spoolss.c":
get rid of aun unused variable;
make "setjob_commands[]" static, as it's not used outside
"packet-dcerpc-spoolss.c";
put a "VALS()" call around the reference to "setjob_commands",
to squelch compiler warnings;
give the SPOOLSS return code field the appropriate
"value_string" array.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5448 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-dcerpc-nt.h')
-rw-r--r-- | packet-dcerpc-nt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-dcerpc-nt.h b/packet-dcerpc-nt.h index 7e440282b4..983a8dde87 100644 --- a/packet-dcerpc-nt.h +++ b/packet-dcerpc-nt.h @@ -2,7 +2,7 @@ * Routines for DCERPC over SMB packet disassembly * Copyright 2001, Tim Potter <tpot@samba.org> * - * $Id: packet-dcerpc-nt.h,v 1.23 2002/05/09 02:44:22 tpot Exp $ + * $Id: packet-dcerpc-nt.h,v 1.24 2002/05/11 22:28:05 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -163,7 +163,7 @@ dissect_doserror(tvbuff_t *tvb, gint offset, packet_info *pinfo, int dissect_nt_policy_hnd(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, char *drep, int hfindex, - e_ctx_hnd *pdata); + e_ctx_hnd *pdata, gboolean is_open, gboolean is_close); int dissect_nt_GUID(tvbuff_t *tvb, int offset, |