diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-02 10:17:00 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-02 13:08:51 +0100 |
commit | 0ac7792e022107c352f5464f52563c4e885272dd (patch) | |
tree | 4b7f14df254962c202b98bb8cb0fb87d06c6edd5 /source4/libcli/smb_composite/loadfile.c | |
parent | e5e0a064853ff5cd7f9bea0d9a6db8a0ae497635 (diff) | |
download | samba-0ac7792e022107c352f5464f52563c4e885272dd.tar.gz samba-0ac7792e022107c352f5464f52563c4e885272dd.tar.bz2 samba-0ac7792e022107c352f5464f52563c4e885272dd.zip |
s4:libcliraw: s/private/private_data
metze
Diffstat (limited to 'source4/libcli/smb_composite/loadfile.c')
-rw-r--r-- | source4/libcli/smb_composite/loadfile.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/libcli/smb_composite/loadfile.c b/source4/libcli/smb_composite/loadfile.c index 952f24b811..994c29c77d 100644 --- a/source4/libcli/smb_composite/loadfile.c +++ b/source4/libcli/smb_composite/loadfile.c @@ -61,7 +61,7 @@ static NTSTATUS setup_close(struct composite_context *c, /* call the handler again when the close is done */ state->req->async.fn = loadfile_handler; - state->req->async.private = c; + state->req->async.private_data = c; state->stage = LOADFILE_CLOSE; return NT_STATUS_OK; @@ -113,7 +113,7 @@ static NTSTATUS loadfile_open(struct composite_context *c, /* call the handler again when the first read is done */ state->req->async.fn = loadfile_handler; - state->req->async.private = c; + state->req->async.private_data = c; state->stage = LOADFILE_READ; talloc_free(state->io_open); @@ -152,7 +152,7 @@ static NTSTATUS loadfile_read(struct composite_context *c, /* call the handler again when the read is done */ state->req->async.fn = loadfile_handler; - state->req->async.private = c; + state->req->async.private_data = c; return NT_STATUS_OK; } @@ -180,7 +180,7 @@ static NTSTATUS loadfile_close(struct composite_context *c, */ static void loadfile_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 loadfile_state *state = talloc_get_type(c->private_data, struct loadfile_state); /* when this handler is called, the stage indicates what @@ -250,7 +250,7 @@ struct composite_context *smb_composite_loadfile_send(struct smbcli_tree *tree, /* setup the callback handler */ state->req->async.fn = loadfile_handler; - state->req->async.private = c; + state->req->async.private_data = c; state->stage = LOADFILE_OPEN; return c; |