svn commit: lorikeet r186 - in trunk/ethereal/plugins/pidl: .
tpot at samba.org
tpot at samba.org
Tue Jan 18 05:33:05 GMT 2005
Author: tpot
Date: 2005-01-18 05:33:05 +0000 (Tue, 18 Jan 2005)
New Revision: 186
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=186
Log:
Handle NTTIME_hyper types. Not sure whether the alignment is correct
though.
Modified:
trunk/ethereal/plugins/pidl/eparser.c
trunk/ethereal/plugins/pidl/eparser.h
Changeset:
Modified: trunk/ethereal/plugins/pidl/eparser.c
===================================================================
--- trunk/ethereal/plugins/pidl/eparser.c 2005-01-18 05:22:30 UTC (rev 185)
+++ trunk/ethereal/plugins/pidl/eparser.c 2005-01-18 05:33:05 UTC (rev 186)
@@ -133,6 +133,12 @@
return NT_STATUS_OK;
}
+NTSTATUS ndr_pull_NTTIME_hyper(struct pidl_pull *ndr, pidl_tree *tree, int hf,
+ NTTIME *data)
+{
+ return ndr_pull_NTTIME(ndr, tree, hf, data);
+}
+
NTSTATUS ndr_pull_time_t(struct pidl_pull *ndr, pidl_tree *tree, int hf,
time_t *data)
{
Modified: trunk/ethereal/plugins/pidl/eparser.h
===================================================================
--- trunk/ethereal/plugins/pidl/eparser.h 2005-01-18 05:22:30 UTC (rev 185)
+++ trunk/ethereal/plugins/pidl/eparser.h 2005-01-18 05:33:05 UTC (rev 186)
@@ -35,6 +35,7 @@
typedef uint32_t NTSTATUS;
typedef uint64_t NTTIME;
+typedef uint64_t NTTIME_hyper;
typedef uint64_t HYPER_T;
#define NT_STATUS_OK 0x00000000
@@ -112,6 +113,7 @@
NTSTATUS ndr_pull_int32(struct pidl_pull *ndr, pidl_tree *tree, int hf, int32_t *v);
NTSTATUS ndr_pull_int64(struct pidl_pull *ndr, pidl_tree *tree, int hf, int64_t *v);
NTSTATUS ndr_pull_NTTIME(struct pidl_pull *ndr, pidl_tree *tree, int hf, NTTIME *data);
+NTSTATUS ndr_pull_NTTIME_hyper(struct pidl_pull *ndr, pidl_tree *tree, int hf, NTTIME *data);
NTSTATUS ndr_pull_HYPER_T(struct pidl_pull *ndr, pidl_tree *tree, int hf, HYPER_T *data);
void ndr_set_flags(uint32_t *pflags, uint32_t new_flags);
NTSTATUS ndr_pull_ptr(struct pidl_pull *ndr, pidl_tree *tree, char *name, uint32_t *v);
More information about the samba-cvs
mailing list