Rename samr_dissect_LOGON_HOURS() to dissect_ndr_nt_LOGON_HOURS() and
[obnox/wireshark/wip.git] / packet-dcerpc-nt.h
index b1472a52cdaa1341b5efc4f206d2766219614921..e25445a4ea53d7238ce086aeb4b0d91c81641acf 100644 (file)
@@ -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.9 2002/03/11 00:00:15 sahlberg Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -73,4 +73,28 @@ 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_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);
+int 
+dissect_ndr_nt_acct_ctrl(tvbuff_t *tvb, int offset, packet_info *pinfo, 
+                       proto_tree *parent_tree, char *drep);
+int
+dissect_ndr_nt_NTTIME (tvbuff_t *tvb, int offset, 
+                       packet_info *pinfo, proto_tree *tree, 
+                       char *drep, int hf_index);
+int
+dissect_ndr_nt_LOGON_HOURS(tvbuff_t *tvb, int offset, 
+                       packet_info *pinfo, proto_tree *parent_tree,
+                       char *drep);
+
+
 #endif /* packet-dcerpc-nt.h */