diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-27 22:19:51 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-27 22:19:51 +0000 |
commit | 4a6761a58d5718c386c7ab4fa89c34fa08dca53b (patch) | |
tree | 30cd6637233af8576d692c33bc50a45d1c08a682 /source3/include | |
parent | b9b04afc354edc56c9dad8a861b4e4c8854e3d8e (diff) | |
download | samba-4a6761a58d5718c386c7ab4fa89c34fa08dca53b.tar.gz samba-4a6761a58d5718c386c7ab4fa89c34fa08dca53b.tar.bz2 samba-4a6761a58d5718c386c7ab4fa89c34fa08dca53b.zip |
using "abstracted" cli_connection, got \PIPE\srvsvc commands up and running
again.
(This used to be commit 6b67d6164dbfda3ba690d86597ae560b7e5c7584)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 28bc1bfa5f..24b50d9bcc 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2081,35 +2081,30 @@ BOOL spoolss_closeprinter(struct cli_state *cli, uint16 fnum, PRINTER_HND *hnd); /*The following definitions come from rpc_client/cli_srvsvc.c */ -BOOL do_srv_net_srv_tprt_enum(struct cli_state *cli, uint16 fnum, - const char *server_name, +BOOL do_srv_net_srv_tprt_enum( + const char *srv_name, uint32 switch_value, SRV_TPRT_INFO_CTR *ctr, uint32 preferred_len, ENUM_HND *hnd); -BOOL do_srv_net_srv_conn_enum(struct cli_state *cli, uint16 fnum, - char *server_name, char *qual_name, +BOOL do_srv_net_srv_conn_enum( char *srv_name, char *qual_name, uint32 switch_value, SRV_CONN_INFO_CTR *ctr, uint32 preferred_len, ENUM_HND *hnd); -BOOL do_srv_net_srv_sess_enum(struct cli_state *cli, uint16 fnum, - char *server_name, char *qual_name, char *user_name, +BOOL do_srv_net_srv_sess_enum( char *srv_name, char *qual_name, char *user_name, uint32 switch_value, SRV_SESS_INFO_CTR *ctr, uint32 preferred_len, ENUM_HND *hnd); -BOOL do_srv_net_srv_share_enum(struct cli_state *cli, uint16 fnum, - char *server_name, +BOOL do_srv_net_srv_share_enum( char *srv_name, uint32 switch_value, SRV_SHARE_INFO_CTR *ctr, uint32 preferred_len, ENUM_HND *hnd); -BOOL do_srv_net_srv_file_enum(struct cli_state *cli, uint16 fnum, - char *server_name, char *qual_name, uint32 file_id, +BOOL do_srv_net_srv_file_enum( char *srv_name, char *qual_name, uint32 file_id, uint32 switch_value, SRV_FILE_INFO_CTR *ctr, uint32 preferred_len, 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); +BOOL do_srv_net_srv_get_info( char *srv_name, uint32 switch_value, + SRV_INFO_CTR *ctr); +BOOL do_srv_net_remote_tod( char *srv_name, TIME_OF_DAY_INFO *tod); /*The following definitions come from rpc_client/cli_svcctl.c */ @@ -3661,8 +3656,7 @@ BOOL net_srv_get_info(struct client_info *info, uint32 info_level, SRV_INFO_CTR *ctr); void cmd_srv_query_info(struct client_info *info, int argc, char *argv[]); -BOOL msrpc_srv_enum_tprt(struct cli_state *cli, - const char* dest_srv, +BOOL msrpc_srv_enum_tprt( const char* dest_srv, uint32 info_level, SRV_TPRT_INFO_CTR *ctr, TPRT_INFO_FN(tprt_fn)); |