summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-19 02:35:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:59 -0500
commit717c8bc7950c2f0eabcdbc7437f47289f6b227b5 (patch)
tree6e88a5269bf1d718ba7b88ee8836e393fb025158 /source4/include
parenta0fa682faa309bda812008ea3a084cf54f65310b (diff)
downloadsamba-717c8bc7950c2f0eabcdbc7437f47289f6b227b5.tar.gz
samba-717c8bc7950c2f0eabcdbc7437f47289f6b227b5.tar.bz2
samba-717c8bc7950c2f0eabcdbc7437f47289f6b227b5.zip
r3869: in the NDR encoded replPropertyMetaData attribute in ADS
I see a new 64 bit time field which are seconds since 1601, this will be mapped to NTTIME by th eparsing code +#define NTTIME_1sec NTTIME metze (This used to be commit db35f3b0f99943311ff8b797e8336616dab28220)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/smb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/include/smb.h b/source4/include/smb.h
index c70ab81611..1fc43fd2f3 100644
--- a/source4/include/smb.h
+++ b/source4/include/smb.h
@@ -215,6 +215,8 @@ typedef struct data_blob {
/* 64 bit time (100 nanosec) 1601 - cifs6.txt, section 3.5, page 30 */
typedef uint64_t NTTIME;
+/* 64 bit time (1 sec) 1601 - in the NDR blob but mapped to NTTIME */
+#define NTTIME_1sec NTTIME
/* 8 byte aligned 'hyper' type from MS IDL */
typedef uint64_t HYPER_T;