summaryrefslogtreecommitdiff
path: root/source3/include/rpc_srvsvc.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-05-20 13:17:26 +0000
committerLuke Leighton <lkcl@samba.org>1998-05-20 13:17:26 +0000
commit9c99863642d295e8b674c9c8b5eeda95bfc4d094 (patch)
tree9912cc55314035b34c7f8ad0aa4e3381483eb878 /source3/include/rpc_srvsvc.h
parent67850c4574c739c61702eb18389ae4a592018037 (diff)
downloadsamba-9c99863642d295e8b674c9c8b5eeda95bfc4d094.tar.gz
samba-9c99863642d295e8b674c9c8b5eeda95bfc4d094.tar.bz2
samba-9c99863642d295e8b674c9c8b5eeda95bfc4d094.zip
dce/rpc net time command from jean-francois. does not support timezones
(This used to be commit 8e11d542eebe076d74ab264e22b87f7aed9bbe8f)
Diffstat (limited to 'source3/include/rpc_srvsvc.h')
-rw-r--r--source3/include/rpc_srvsvc.h38
1 files changed, 37 insertions, 1 deletions
diff --git a/source3/include/rpc_srvsvc.h b/source3/include/rpc_srvsvc.h
index 6ba137da2f..afcef4e168 100644
--- a/source3/include/rpc_srvsvc.h
+++ b/source3/include/rpc_srvsvc.h
@@ -32,7 +32,7 @@
#define SRV_NETSHAREENUM 0x0f
#define SRV_NET_SRV_GET_INFO 0x15
#define SRV_NET_SRV_SET_INFO 0x16
-
+#define SRV_NET_REMOTE_TOD 0x1c
/* SESS_INFO_0 (pointers to level 0 session info strings) */
typedef struct ptr_sess_info0
@@ -535,6 +535,42 @@ typedef struct r_net_srv_set_info
} SRV_R_NET_SRV_SET_INFO;
+/* SRV_Q_NET_REMOTE_TOD */
+typedef struct q_net_remote_tod
+{
+ uint32 ptr_srv_name;
+ UNISTR2 uni_srv_name; /* "\\server" */
+
+} SRV_Q_NET_REMOTE_TOD;
+
+/* TIME_OF_DAY_INFO */
+typedef struct time_of_day_info
+{
+ uint32 elapsedt;
+ uint32 msecs;
+ uint32 hours;
+ uint32 mins;
+ uint32 secs;
+ uint32 hunds;
+ uint32 zone;
+ uint32 tintervals;
+ uint32 day;
+ uint32 month;
+ uint32 year;
+ uint32 weekday;
+
+} TIME_OF_DAY_INFO;
+
+/* SRV_R_NET_REMOTE_TOD */
+typedef struct r_net_remote_tod
+{
+ uint32 ptr_srv_tod; /* pointer to TOD */
+ TIME_OF_DAY_INFO *tod;
+
+ uint32 status; /* return status */
+
+} SRV_R_NET_REMOTE_TOD;
+
#endif /* _RPC_SRVSVC_H */