From e3a888d5a935047367e531321981cbed8618c5a3 Mon Sep 17 00:00:00 2001 From: Matthew Chapman Date: Sat, 1 May 1999 05:56:55 +0000 Subject: 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 (This used to be commit f456dcf08ec96c631f5e6f2e857115d4bbf94d1b) --- source3/rpc_parse/parse_srv.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'source3/rpc_parse') diff --git a/source3/rpc_parse/parse_srv.c b/source3/rpc_parse/parse_srv.c index 56b8be2acb..1bcc961853 100644 --- a/source3/rpc_parse/parse_srv.c +++ b/source3/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. -- cgit