summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse/parse_srv.c
diff options
context:
space:
mode:
authorMatthew Chapman <matty@samba.org>1999-05-01 05:56:55 +0000
committerMatthew Chapman <matty@samba.org>1999-05-01 05:56:55 +0000
commitf456dcf08ec96c631f5e6f2e857115d4bbf94d1b (patch)
tree65ce51099cc9813bbdd4977f778a535b4719069c /source/rpc_parse/parse_srv.c
parent209944dabc764c6ea0c471e7868306c7d8d020d4 (diff)
downloadsamba-f456dcf08ec96c631f5e6f2e857115d4bbf94d1b.tar.gz
samba-f456dcf08ec96c631f5e6f2e857115d4bbf94d1b.tar.xz
samba-f456dcf08ec96c631f5e6f2e857115d4bbf94d1b.zip
Adding "time" rpcclient command which displays the remote time.
Also added special "now" time to the "at" command, e.g.: at now /i cmd ; pops up a command prompt
Diffstat (limited to 'source/rpc_parse/parse_srv.c')
-rw-r--r--source/rpc_parse/parse_srv.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/rpc_parse/parse_srv.c b/source/rpc_parse/parse_srv.c
index 56b8be2acbf..1bcc961853f 100644
--- a/source/rpc_parse/parse_srv.c
+++ b/source/rpc_parse/parse_srv.c
@@ -1459,6 +1459,17 @@ void srv_io_r_net_srv_get_info(char *desc, SRV_R_NET_SRV_GET_INFO *r_n, prs_str
prs_uint32("status ", ps, depth, &(r_n->status ));
}
+/*******************************************************************
+ makes a SRV_Q_NET_REMOTE_TOD structure.
+ ********************************************************************/
+void make_srv_q_net_remote_tod(SRV_Q_NET_REMOTE_TOD *q_t, char *server_name)
+{
+ if (q_t == NULL) return;
+
+ DEBUG(5,("make_srv_q_net_remote_tod\n"));
+
+ make_buf_unistr2(&(q_t->uni_srv_name), &(q_t->ptr_srv_name), server_name);
+}
/*******************************************************************
reads or writes a structure.