diff options
author | Günther Deschner <gd@samba.org> | 2009-10-01 02:09:33 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-10-01 12:19:43 +0200 |
commit | cd82d4ba569a5048e506f8455d9c496a47805fc1 (patch) | |
tree | 9562840e5959256fc1de1bb363fa6616a52ff1ef /source3/rpc_parse | |
parent | c6a7ecf28b5d531b8f8921643b3aa3a01b74151b (diff) | |
download | samba-cd82d4ba569a5048e506f8455d9c496a47805fc1.tar.gz samba-cd82d4ba569a5048e506f8455d9c496a47805fc1.tar.bz2 samba-cd82d4ba569a5048e506f8455d9c496a47805fc1.zip |
s3: add perfcount idl and generated files.
Guenther
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_misc.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c index 34611a48fd..c000923b9e 100644 --- a/source3/rpc_parse/parse_misc.c +++ b/source3/rpc_parse/parse_misc.c @@ -59,48 +59,6 @@ bool smb_io_time(const char *desc, NTTIME *nttime, prs_struct *ps, int depth) } /******************************************************************* -********************************************************************/ - -bool smb_io_system_time(const char *desc, prs_struct *ps, int depth, SYSTEMTIME *systime) -{ - if(!prs_uint16("year", ps, depth, &systime->year)) - return False; - if(!prs_uint16("month", ps, depth, &systime->month)) - return False; - if(!prs_uint16("dayofweek", ps, depth, &systime->dayofweek)) - return False; - if(!prs_uint16("day", ps, depth, &systime->day)) - return False; - if(!prs_uint16("hour", ps, depth, &systime->hour)) - return False; - if(!prs_uint16("minute", ps, depth, &systime->minute)) - return False; - if(!prs_uint16("second", ps, depth, &systime->second)) - return False; - if(!prs_uint16("milliseconds", ps, depth, &systime->milliseconds)) - return False; - - return True; -} - -/******************************************************************* -********************************************************************/ - -bool make_systemtime(SYSTEMTIME *systime, struct tm *unixtime) -{ - systime->year=unixtime->tm_year+1900; - systime->month=unixtime->tm_mon+1; - systime->dayofweek=unixtime->tm_wday; - systime->day=unixtime->tm_mday; - systime->hour=unixtime->tm_hour; - systime->minute=unixtime->tm_min; - systime->second=unixtime->tm_sec; - systime->milliseconds=0; - - return True; -} - -/******************************************************************* Reads or writes a struct GUID ********************************************************************/ |