aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-nt.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2002-03-06 08:58:01 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2002-03-06 08:58:01 +0000
commit6723d2656536ef5383ea3e0e86598253bf66ea34 (patch)
tree90568230b43ee471bf748dcc2b4b45eee0f67d26 /packet-dcerpc-nt.h
parent68a7d05463934e2a6429e283fa84e6198e4d0f44 (diff)
downloadwireshark-6723d2656536ef5383ea3e0e86598253bf66ea34.tar.gz
wireshark-6723d2656536ef5383ea3e0e86598253bf66ea34.tar.bz2
wireshark-6723d2656536ef5383ea3e0e86598253bf66ea34.zip
Moved dissector for UNICODE_STRING structure from packet-dcerpc-samr.c to packet-dcerpc-nt.c since this is a structure that is common to all NT services and not only SAMR.
svn path=/trunk/; revision=4888
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 b1472a52cd..9724ba64d1 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.4 2002/01/29 09:13:28 guy Exp $
+ * $Id: packet-dcerpc-nt.h,v 1.5 2002/03/06 08:58:01 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -73,4 +73,20 @@ int prs_push_ptr(tvbuff_t *tvb, int offset, packet_info *pinfo,
guint32 prs_pop_ptr(GList **ptr_list, char *name);
+
+#define ALIGN_TO_4_BYTES {if(offset&0x03)offset=(offset&0xfffffffc)+4;}
+
+int
+dissect_ndr_nt_UNICODE_STRING_string(tvbuff_t *tvb, int offset,
+ packet_info *pinfo, proto_tree *tree,
+ char *drep);
+int
+dissect_ndr_nt_UNICODE_STRING_str(tvbuff_t *tvb, int offset,
+ packet_info *pinfo, proto_tree *tree,
+ char *drep);
+int
+dissect_ndr_nt_UNICODE_STRING(tvbuff_t *tvb, int offset,
+ packet_info *pinfo, proto_tree *parent_tree,
+ char *drep, int hf_index, int levels);
+
#endif /* packet-dcerpc-nt.h */