summaryrefslogtreecommitdiff
path: root/source4/libcli/smb_composite/appendacl.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-02 10:17:00 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-02 13:08:51 +0100
commit0ac7792e022107c352f5464f52563c4e885272dd (patch)
tree4b7f14df254962c202b98bb8cb0fb87d06c6edd5 /source4/libcli/smb_composite/appendacl.c
parente5e0a064853ff5cd7f9bea0d9a6db8a0ae497635 (diff)
downloadsamba-0ac7792e022107c352f5464f52563c4e885272dd.tar.gz
samba-0ac7792e022107c352f5464f52563c4e885272dd.tar.bz2
samba-0ac7792e022107c352f5464f52563c4e885272dd.zip
s4:libcliraw: s/private/private_data
metze
Diffstat (limited to 'source4/libcli/smb_composite/appendacl.c')
-rw-r--r--source4/libcli/smb_composite/appendacl.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/libcli/smb_composite/appendacl.c b/source4/libcli/smb_composite/appendacl.c
index 1f06b96e75..69ed62a106 100644
--- a/source4/libcli/smb_composite/appendacl.c
+++ b/source4/libcli/smb_composite/appendacl.c
@@ -46,7 +46,7 @@ static NTSTATUS appendacl_open(struct composite_context *c,
/* set the handler */
state->req->async.fn = appendacl_handler;
- state->req->async.private = c;
+ state->req->async.private_data = c;
state->stage = APPENDACL_GET;
talloc_free (state->io_open);
@@ -92,7 +92,7 @@ static NTSTATUS appendacl_get(struct composite_context *c,
/* call handler when done setting new security descriptor on file */
state->req->async.fn = appendacl_handler;
- state->req->async.private = c;
+ state->req->async.private_data = c;
state->stage = APPENDACL_SET;
talloc_free (state->io_fileinfo);
@@ -124,7 +124,7 @@ static NTSTATUS appendacl_set(struct composite_context *c,
/* set the handler */
state->req->async.fn = appendacl_handler;
- state->req->async.private = c;
+ state->req->async.private_data = c;
state->stage = APPENDACL_GETAGAIN;
talloc_free (state->io_setfileinfo);
@@ -159,7 +159,7 @@ static NTSTATUS appendacl_getagain(struct composite_context *c,
/* call the handler */
state->req->async.fn = appendacl_handler;
- state->req->async.private = c;
+ state->req->async.private_data = c;
state->stage = APPENDACL_CLOSEPATH;
talloc_free (state->io_fileinfo);
@@ -188,7 +188,7 @@ static NTSTATUS appendacl_close(struct composite_context *c,
*/
static void appendacl_handler(struct smbcli_request *req)
{
- struct composite_context *c = (struct composite_context *)req->async.private;
+ struct composite_context *c = (struct composite_context *)req->async.private_data;
struct appendacl_state *state = talloc_get_type(c->private_data, struct appendacl_state);
/* when this handler is called, the stage indicates what
@@ -270,7 +270,7 @@ struct composite_context *smb_composite_appendacl_send(struct smbcli_tree *tree,
/* setup the callback handler */
state->req->async.fn = appendacl_handler;
- state->req->async.private = c;
+ state->req->async.private_data = c;
state->stage = APPENDACL_OPENPATH;
return c;