]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
netapi: add NetRemoteTOD() to IDL.
authorGünther Deschner <gd@samba.org>
Fri, 6 Jun 2008 10:50:02 +0000 (12:50 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 17 Jun 2008 17:56:16 +0000 (19:56 +0200)
Guenther

source/librpc/idl/libnetapi.idl

index 6c525ff8c1902c2c624cb86ce6feb66cb1af8b96..cbd91933e765933785a3c1ed20c2876e41e38a4b 100644 (file)
@@ -289,4 +289,23 @@ interface libnetapi
                [out,ref] uint32 *parm_err
                );
 
+       typedef struct {
+               uint32 tod_elapsedt;
+               uint32 tod_msecs;
+               uint32 tod_hours;
+               uint32 tod_mins;
+               uint32 tod_secs;
+               uint32 tod_hunds;
+               int32 tod_timezone;
+               uint32 tod_tinterval;
+               uint32 tod_day;
+               uint32 tod_month;
+               uint32 tod_year;
+               uint32 tod_weekday;
+       } TIME_OF_DAY_INFO;
+
+       [nopush,nopull] NET_API_STATUS NetRemoteTOD(
+               [in] string server_name,
+               [out,ref] uint8 **buf
+               );
 }