diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-09-25 15:02:05 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-09-25 17:12:05 +0200 |
commit | c74de09d81fca9f5a744d0f28e302224052c34af (patch) | |
tree | 5cd02b48045cc8e6c5b91bb47b9fa3b173f54bbd /source4/libcli/raw | |
parent | b567694bb0ee6aa233f639efd6ac495c44e2e172 (diff) | |
download | samba-c74de09d81fca9f5a744d0f28e302224052c34af.tar.gz samba-c74de09d81fca9f5a744d0f28e302224052c34af.tar.bz2 samba-c74de09d81fca9f5a744d0f28e302224052c34af.zip |
libcliraw: Make smb_raw_write_recv public and include it in a public header.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Sep 25 17:12:05 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r-- | source4/libcli/raw/libcliraw.h | 1 | ||||
-rw-r--r-- | source4/libcli/raw/rawreadwrite.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/source4/libcli/raw/libcliraw.h b/source4/libcli/raw/libcliraw.h index 78468549d9..773fa878d0 100644 --- a/source4/libcli/raw/libcliraw.h +++ b/source4/libcli/raw/libcliraw.h @@ -316,6 +316,7 @@ size_t smb_raw_max_trans_data(struct smbcli_tree *tree, size_t param_size); struct smbcli_request *smb_raw_trans_send(struct smbcli_tree *tree, struct smb_trans2 *parms); NTSTATUS smbcli_request_destroy(struct smbcli_request *req); struct smbcli_request *smb_raw_write_send(struct smbcli_tree *tree, union smb_write *parms); +NTSTATUS smb_raw_write_recv(struct smbcli_request *req, union smb_write *parms); struct smbcli_request *smb_raw_close_send(struct smbcli_tree *tree, union smb_close *parms); NTSTATUS smb_raw_open_recv(struct smbcli_request *req, TALLOC_CTX *mem_ctx, union smb_open *parms); struct smbcli_request *smb_raw_open_send(struct smbcli_tree *tree, union smb_open *parms); diff --git a/source4/libcli/raw/rawreadwrite.c b/source4/libcli/raw/rawreadwrite.c index 2056583330..68977ebd3e 100644 --- a/source4/libcli/raw/rawreadwrite.c +++ b/source4/libcli/raw/rawreadwrite.c @@ -302,7 +302,7 @@ _PUBLIC_ struct smbcli_request *smb_raw_write_send(struct smbcli_tree *tree, uni /**************************************************************************** raw write interface (async recv) ****************************************************************************/ -NTSTATUS smb_raw_write_recv(struct smbcli_request *req, union smb_write *parms) +_PUBLIC_ NTSTATUS smb_raw_write_recv(struct smbcli_request *req, union smb_write *parms) { if (!smbcli_request_receive(req) || !NT_STATUS_IS_OK(req->status)) { |