1
0
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:
Stefan Metzmacher 2013-08-14 11:38:22 +02:00
parent ccf7b37191
commit 80d4f64352
2 changed files with 2 additions and 6 deletions

View File

@ -2752,7 +2752,7 @@ struct cli_tdis_state {
static void cli_tdis_done(struct tevent_req *subreq); 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 tevent_context *ev,
struct cli_state *cli) struct cli_state *cli)
{ {
@ -2791,7 +2791,7 @@ static void cli_tdis_done(struct tevent_req *subreq)
tevent_req_done(req); 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); return tevent_req_simple_recv_ntstatus(req);
} }

View File

@ -75,10 +75,6 @@ NTSTATUS cli_tcon_andx(struct cli_state *cli, const char *share,
const char *dev, const char *pass, int passlen); const char *dev, const char *pass, int passlen);
NTSTATUS cli_tree_connect(struct cli_state *cli, const char *share, NTSTATUS cli_tree_connect(struct cli_state *cli, const char *share,
const char *dev, const char *pass, int passlen); 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_tdis(struct cli_state *cli);
NTSTATUS cli_connect_nb(const char *host, const struct sockaddr_storage *dest_ss, NTSTATUS cli_connect_nb(const char *host, const struct sockaddr_storage *dest_ss,
uint16_t port, int name_type, const char *myname, uint16_t port, int name_type, const char *myname,