summaryrefslogtreecommitdiff
path: root/source3/include/rpc_misc.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-17 14:45:24 +0100
committerGünther Deschner <gd@samba.org>2009-03-17 18:39:23 +0100
commitd759f9961a30c5dc9920f620b783ffa58daf9b03 (patch)
treee59f20091ffb950dea6b68bab73b00cc347a3e98 /source3/include/rpc_misc.h
parent47c024fd7516aa940b6b04f903cedff677e5543e (diff)
downloadsamba-d759f9961a30c5dc9920f620b783ffa58daf9b03.tar.gz
samba-d759f9961a30c5dc9920f620b783ffa58daf9b03.tar.bz2
samba-d759f9961a30c5dc9920f620b783ffa58daf9b03.zip
s3-spoolss: move SYSTEMTIME parsing to a more generic place, as suggested.
Guenther
Diffstat (limited to 'source3/include/rpc_misc.h')
-rw-r--r--source3/include/rpc_misc.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h
index 1e9d43bfa0..37dffbb005 100644
--- a/source3/include/rpc_misc.h
+++ b/source3/include/rpc_misc.h
@@ -138,4 +138,23 @@ typedef struct { /* UNISTR3 - XXXX not sure about this structure */
UNISTR str;
} UNISTR3;
+/*
+ * I'm really wondering how many different time formats
+ * I will have to cope with
+ *
+ * JFM, 09/13/98 In a mad mood ;-(
+*/
+typedef struct systemtime
+{
+ uint16 year;
+ uint16 month;
+ uint16 dayofweek;
+ uint16 day;
+ uint16 hour;
+ uint16 minute;
+ uint16 second;
+ uint16 milliseconds;
+}
+SYSTEMTIME;
+
#endif /* _RPC_MISC_H */