summaryrefslogtreecommitdiff
path: root/source/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-05 10:34:45 +0100
committerKarolin Seeger <kseeger@bando.sernet.private>2008-03-31 14:20:56 +0200
commit1440f563e4c10640e1b01e0d424eb0600b8ae006 (patch)
tree8f693cda3f00dd4daadd7267a8a64796a7560e36 /source/rpc_client
parent01b8d8016bbdea801e42c512c1def26049acc3dd (diff)
downloadsamba-1440f563e4c10640e1b01e0d424eb0600b8ae006.tar.gz
Use pidl for _srvsvc_NetRemoteTOD().
Guenther (cherry picked from commit 2b4e0f0593c6378cdac4811ded830ca694afac9e)
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/init_srvsvc.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/source/rpc_client/init_srvsvc.c b/source/rpc_client/init_srvsvc.c
index a4ee54cb48f..5e868ffd2b9 100644
--- a/source/rpc_client/init_srvsvc.c
+++ b/source/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;
+}
+