diff options
author | Matthew Chapman <matty@samba.org> | 1999-05-01 05:56:55 +0000 |
---|---|---|
committer | Matthew Chapman <matty@samba.org> | 1999-05-01 05:56:55 +0000 |
commit | e3a888d5a935047367e531321981cbed8618c5a3 (patch) | |
tree | cfbf41483bffd10b3cac43bb1dc76a955a80bb43 /source3/include | |
parent | 89d51caba5bed5c3329b3776e15fce2bb41f7592 (diff) | |
download | samba-e3a888d5a935047367e531321981cbed8618c5a3.tar.gz samba-e3a888d5a935047367e531321981cbed8618c5a3.tar.bz2 samba-e3a888d5a935047367e531321981cbed8618c5a3.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
(This used to be commit f456dcf08ec96c631f5e6f2e857115d4bbf94d1b)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 577215913f..13e75421c3 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1914,6 +1914,8 @@ BOOL do_srv_net_srv_file_enum(struct cli_state *cli, uint16 fnum, ENUM_HND *hnd); BOOL do_srv_net_srv_get_info(struct cli_state *cli, uint16 fnum, char *server_name, uint32 switch_value, SRV_INFO_CTR *ctr); +BOOL do_srv_net_remote_tod(struct cli_state *cli, uint16 fnum, + char *server_name, TIME_OF_DAY_INFO *tod); /*The following definitions come from rpc_client/cli_svcctl.c */ @@ -2856,6 +2858,7 @@ void srv_io_q_net_srv_get_info(char *desc, SRV_Q_NET_SRV_GET_INFO *q_n, prs_str void make_srv_r_net_srv_get_info(SRV_R_NET_SRV_GET_INFO *srv, uint32 switch_value, SRV_INFO_CTR *ctr, uint32 status); void srv_io_r_net_srv_get_info(char *desc, SRV_R_NET_SRV_GET_INFO *r_n, prs_struct *ps, int depth); +void make_srv_q_net_remote_tod(SRV_Q_NET_REMOTE_TOD *q_t, char *server_name); void srv_io_q_net_remote_tod(char *desc, SRV_Q_NET_REMOTE_TOD *q_n, prs_struct *ps, int depth); void make_time_of_day_info(TIME_OF_DAY_INFO *tod, uint32 elapsedt, uint32 msecs, uint32 hours, uint32 mins, uint32 secs, uint32 hunds, @@ -3076,6 +3079,7 @@ void cmd_srv_enum_conn(struct client_info *info); void cmd_srv_enum_shares(struct client_info *info); void cmd_srv_enum_sess(struct client_info *info); void cmd_srv_enum_files(struct client_info *info); +void cmd_time(struct client_info *info); /*The following definitions come from rpcclient/cmd_svcctl.c */ |