diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-08-28 16:55:57 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-08-28 20:29:01 +0200 |
commit | 92b7e3ee58d4c37d81103fcdab79184a84b084dc (patch) | |
tree | 3de6f7405d5d09bee99bd1191e86060d9823dcfd /source3 | |
parent | 74adebe8d98122fc93365886e857eb03570f52b2 (diff) | |
download | samba-92b7e3ee58d4c37d81103fcdab79184a84b084dc.tar.gz samba-92b7e3ee58d4c37d81103fcdab79184a84b084dc.tar.bz2 samba-92b7e3ee58d4c37d81103fcdab79184a84b084dc.zip |
s3:libsmb: make cli_session_request_send/recv() static
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Aug 28 20:29:01 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/async_smb.h | 7 | ||||
-rw-r--r-- | source3/libsmb/smbsock_connect.c | 12 |
2 files changed, 6 insertions, 13 deletions
diff --git a/source3/include/async_smb.h b/source3/include/async_smb.h index b8e2a34cbf..482c7ebc6c 100644 --- a/source3/include/async_smb.h +++ b/source3/include/async_smb.h @@ -51,11 +51,4 @@ NTSTATUS cli_smb_recv(struct tevent_req *req, uint8_t min_wct, uint8_t *pwct, uint16_t **pvwv, uint32_t *pnum_bytes, uint8_t **pbytes); -struct tevent_req *cli_session_request_send(TALLOC_CTX *mem_ctx, - struct tevent_context *ev, - int sock, - const struct nmb_name *called, - const struct nmb_name *calling); -bool cli_session_request_recv(struct tevent_req *req, int *err, uint8_t *resp); - #endif diff --git a/source3/libsmb/smbsock_connect.c b/source3/libsmb/smbsock_connect.c index 1c9db84738..1bb076eee6 100644 --- a/source3/libsmb/smbsock_connect.c +++ b/source3/libsmb/smbsock_connect.c @@ -37,11 +37,11 @@ struct cli_session_request_state { static void cli_session_request_sent(struct tevent_req *subreq); static void cli_session_request_recvd(struct tevent_req *subreq); -struct tevent_req *cli_session_request_send(TALLOC_CTX *mem_ctx, - struct tevent_context *ev, - int sock, - const struct nmb_name *called, - const struct nmb_name *calling) +static struct tevent_req *cli_session_request_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + int sock, + const struct nmb_name *called, + const struct nmb_name *calling) { struct tevent_req *req, *subreq; struct cli_session_request_state *state; @@ -140,7 +140,7 @@ static void cli_session_request_recvd(struct tevent_req *subreq) tevent_req_done(req); } -bool cli_session_request_recv(struct tevent_req *req, int *err, uint8_t *resp) +static bool cli_session_request_recv(struct tevent_req *req, int *err, uint8_t *resp) { struct cli_session_request_state *state = tevent_req_data( req, struct cli_session_request_state); |