aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-nt.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-09 02:44:22 +0000
committerTim Potter <tpot@samba.org>2002-05-09 02:44:22 +0000
commite932bc78a985bdde38550935eeb9c334e52ebb6a (patch)
tree54a57d614ca48aea34b5c1b24bdafb6a6649fac4 /packet-dcerpc-nt.h
parent904ecac64a1ae613b0a34e6313eb33dcb000c06b (diff)
Added a routine to dissect a DOS error code. These are used in the spoolss
(also registry and srvsvc?) pipe dissectors. Also added some helper routines for decoding a range of uint8s. These map nicely to the dissect_{dcerpc,ndr}_foo() format with the addition of a length parameter, but aren't really part of the NDR specification and are probably only going to be used in the NT dcerpc dissectors. svn path=/trunk/; revision=5421
Diffstat (limited to 'packet-dcerpc-nt.h')
-rw-r--r--packet-dcerpc-nt.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/packet-dcerpc-nt.h b/packet-dcerpc-nt.h
index 80a1a3ec32..7e440282b4 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.22 2002/04/22 09:43:03 guy Exp $
+ * $Id: packet-dcerpc-nt.h,v 1.23 2002/05/09 02:44:22 tpot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -156,6 +156,11 @@ dissect_ntstatus(tvbuff_t *tvb, gint offset, packet_info *pinfo,
int hfindex, guint32 *pdata);
int
+dissect_doserror(tvbuff_t *tvb, gint offset, packet_info *pinfo,
+ proto_tree *tree, char *drep,
+ int hfindex, guint32 *pdata);
+
+int
dissect_nt_policy_hnd(tvbuff_t *tvb, gint offset, packet_info *pinfo,
proto_tree *tree, char *drep, int hfindex,
e_ctx_hnd *pdata);
@@ -170,4 +175,15 @@ dissect_nt_LUID(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree,
char *drep);
+/* Stored here instead of packet-dcerpc{,-ndr}.c as they are probably not
+ official NDR representations. */
+
+int dissect_dcerpc_uint8s(tvbuff_t *tvb, gint offset, packet_info *pinfo,
+ proto_tree *tree, char *drep,
+ int hfindex, int length, guint8 **pdata);
+
+int dissect_ndr_uint8s(tvbuff_t *tvb, gint offset, packet_info *pinfo,
+ proto_tree *tree, char *drep,
+ int hfindex, int length, guint8 **pdata);
+
#endif /* packet-dcerpc-nt.h */