summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-05 10:34:45 +0100
committerGünther Deschner <gd@samba.org>2008-03-05 10:34:45 +0100
commit78b20443c587d303aa33f594c746c38e2689004d (patch)
tree40dc2f556688c8798f22d2710e456b69d4f571a6 /source3/rpc_client
parent91714e0429a667ca19aec8ba4cdd5e7722452979 (diff)
downloadsamba-78b20443c587d303aa33f594c746c38e2689004d.tar.gz
samba-78b20443c587d303aa33f594c746c38e2689004d.tar.bz2
samba-78b20443c587d303aa33f594c746c38e2689004d.zip
Use pidl for _srvsvc_NetRemoteTOD().
Guenther (This used to be commit 2b4e0f0593c6378cdac4811ded830ca694afac9e)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/init_srvsvc.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/source3/rpc_client/init_srvsvc.c b/source3/rpc_client/init_srvsvc.c
index a4ee54cb48..5e868ffd2b 100644
--- a/source3/rpc_client/init_srvsvc.c
+++ b/source3/rpc_client/init_srvsvc.c
@@ -84,3 +84,36 @@ void init_srvsvc_NetSrvInfo100(struct srvsvc_NetSrvInfo100 *r,
r->platform_id = platform_id;
r->server_name = server_name;
}
+
+/*******************************************************************
+ inits a srvsvc_NetRemoteTODInfo structure
+ ********************************************************************/
+
+void init_srvsvc_NetRemoteTODInfo(struct srvsvc_NetRemoteTODInfo *r,
+ uint32_t elapsed,
+ uint32_t msecs,
+ uint32_t hours,
+ uint32_t mins,
+ uint32_t secs,
+ uint32_t hunds,
+ int32_t ttimezone,
+ uint32_t tinterval,
+ uint32_t day,
+ uint32_t month,
+ uint32_t year,
+ uint32_t weekday)
+{
+ r->elapsed = elapsed;
+ r->msecs = msecs;
+ r->hours = hours;
+ r->mins = mins;
+ r->secs = secs;
+ r->hunds = hunds;
+ r->timezone = ttimezone;
+ r->tinterval = tinterval;
+ r->day = day;
+ r->month = month;
+ r->year = year;
+ r->weekday = weekday;
+}
+