mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:libsmb: make cli_tdis_send/recv static
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
ccf7b37191
commit
80d4f64352
@ -2752,7 +2752,7 @@ struct cli_tdis_state {
|
||||
|
||||
static void cli_tdis_done(struct tevent_req *subreq);
|
||||
|
||||
struct tevent_req *cli_tdis_send(TALLOC_CTX *mem_ctx,
|
||||
static struct tevent_req *cli_tdis_send(TALLOC_CTX *mem_ctx,
|
||||
struct tevent_context *ev,
|
||||
struct cli_state *cli)
|
||||
{
|
||||
@ -2791,7 +2791,7 @@ static void cli_tdis_done(struct tevent_req *subreq)
|
||||
tevent_req_done(req);
|
||||
}
|
||||
|
||||
NTSTATUS cli_tdis_recv(struct tevent_req *req)
|
||||
static NTSTATUS cli_tdis_recv(struct tevent_req *req)
|
||||
{
|
||||
return tevent_req_simple_recv_ntstatus(req);
|
||||
}
|
||||
|
@ -75,10 +75,6 @@ NTSTATUS cli_tcon_andx(struct cli_state *cli, const char *share,
|
||||
const char *dev, const char *pass, int passlen);
|
||||
NTSTATUS cli_tree_connect(struct cli_state *cli, const char *share,
|
||||
const char *dev, const char *pass, int passlen);
|
||||
struct tevent_req *cli_tdis_send(TALLOC_CTX *mem_ctx,
|
||||
struct tevent_context *ev,
|
||||
struct cli_state *cli);
|
||||
NTSTATUS cli_tdis_recv(struct tevent_req *req);
|
||||
NTSTATUS cli_tdis(struct cli_state *cli);
|
||||
NTSTATUS cli_connect_nb(const char *host, const struct sockaddr_storage *dest_ss,
|
||||
uint16_t port, int name_type, const char *myname,
|
||||
|
Loading…
Reference in New Issue
Block a user