summaryrefslogtreecommitdiffstats
path: root/libcli
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2014-05-08 20:08:41 -0700
committerStefan Metzmacher <metze@samba.org>2014-05-09 23:10:07 +0200
commit2900dfa5b928ef237e72ac4e15481e083d61750a (patch)
treebb391841dfa0b8086cd3fe0bac12d34eac0fc984 /libcli
parent4bc9bbef4a556a363e985d13e75fb62ed9e5cd03 (diff)
downloadsamba-2900dfa5b928ef237e72ac4e15481e083d61750a.tar.gz
samba-2900dfa5b928ef237e72ac4e15481e083d61750a.tar.xz
samba-2900dfa5b928ef237e72ac4e15481e083d61750a.zip
s3: client - rename 'struct smb2_create_returns' to 'struct smb_create_returns' so we can use this in SMB1 create returns as well.
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smb2_create_blob.h2
-rw-r--r--libcli/smb/smb2cli_create.c6
-rw-r--r--libcli/smb/smbXcli_base.h6
3 files changed, 7 insertions, 7 deletions
diff --git a/libcli/smb/smb2_create_blob.h b/libcli/smb/smb2_create_blob.h
index 2f915b3afef..90697a70892 100644
--- a/libcli/smb/smb2_create_blob.h
+++ b/libcli/smb/smb2_create_blob.h
@@ -33,7 +33,7 @@ struct smb2_create_blobs {
struct smb2_create_blob *blobs;
};
-struct smb2_create_returns {
+struct smb_create_returns {
uint8_t oplock_level;
uint32_t create_action;
NTTIME creation_time;
diff --git a/libcli/smb/smb2cli_create.c b/libcli/smb/smb2cli_create.c
index 9cb94b11962..834a88146ce 100644
--- a/libcli/smb/smb2cli_create.c
+++ b/libcli/smb/smb2cli_create.c
@@ -29,7 +29,7 @@ struct smb2cli_create_state {
uint64_t fid_persistent;
uint64_t fid_volatile;
- struct smb2_create_returns cr;
+ struct smb_create_returns cr;
struct smb2_create_blobs blobs;
};
@@ -225,7 +225,7 @@ static void smb2cli_create_done(struct tevent_req *subreq)
NTSTATUS smb2cli_create_recv(struct tevent_req *req,
uint64_t *fid_persistent,
uint64_t *fid_volatile,
- struct smb2_create_returns *cr)
+ struct smb_create_returns *cr)
{
struct smb2cli_create_state *state =
tevent_req_data(req,
@@ -258,7 +258,7 @@ NTSTATUS smb2cli_create(struct smbXcli_conn *conn,
struct smb2_create_blobs *blobs,
uint64_t *fid_persistent,
uint64_t *fid_volatile,
- struct smb2_create_returns *cr)
+ struct smb_create_returns *cr)
{
TALLOC_CTX *frame = talloc_stackframe();
struct tevent_context *ev;
diff --git a/libcli/smb/smbXcli_base.h b/libcli/smb/smbXcli_base.h
index 888242b1126..8cde85e5827 100644
--- a/libcli/smb/smbXcli_base.h
+++ b/libcli/smb/smbXcli_base.h
@@ -28,7 +28,7 @@ struct smb_trans_enc_state;
struct GUID;
struct iovec;
struct smb2_create_blobs;
-struct smb2_create_returns;
+struct smb_create_returns;
struct smbXcli_conn *smbXcli_conn_create(TALLOC_CTX *mem_ctx,
int fd,
@@ -461,7 +461,7 @@ struct tevent_req *smb2cli_create_send(
NTSTATUS smb2cli_create_recv(struct tevent_req *req,
uint64_t *fid_persistent,
uint64_t *fid_volatile,
- struct smb2_create_returns *cr);
+ struct smb_create_returns *cr);
NTSTATUS smb2cli_create(struct smbXcli_conn *conn,
uint32_t timeout_msec,
struct smbXcli_session *session,
@@ -477,7 +477,7 @@ NTSTATUS smb2cli_create(struct smbXcli_conn *conn,
struct smb2_create_blobs *blobs,
uint64_t *fid_persistent,
uint64_t *fid_volatile,
- struct smb2_create_returns *cr);
+ struct smb_create_returns *cr);
struct tevent_req *smb2cli_close_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,