summaryrefslogtreecommitdiff
path: root/source3/libsmb/clireadwrite.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 09:59:58 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:47:54 +0100
commitd0bca41f481fbaa4b25190bbb58fe119ca5ccec9 (patch)
tree07a8f6d8802e5c9b91e1cdafec404881d8be1817 /source3/libsmb/clireadwrite.c
parent00b1ef8853a0ad3bf967f98d5a9a570109abb82e (diff)
downloadsamba-d0bca41f481fbaa4b25190bbb58fe119ca5ccec9.tar.gz
samba-d0bca41f481fbaa4b25190bbb58fe119ca5ccec9.tar.bz2
samba-d0bca41f481fbaa4b25190bbb58fe119ca5ccec9.zip
s3:libsmb: s/struct event_context/struct tevent_context
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/libsmb/clireadwrite.c')
-rw-r--r--source3/libsmb/clireadwrite.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/source3/libsmb/clireadwrite.c b/source3/libsmb/clireadwrite.c
index c6de32e549..75c1683427 100644
--- a/source3/libsmb/clireadwrite.c
+++ b/source3/libsmb/clireadwrite.c
@@ -123,7 +123,7 @@ struct cli_read_andx_state {
static void cli_read_andx_done(struct tevent_req *subreq);
struct tevent_req *cli_read_andx_create(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
+ struct tevent_context *ev,
struct cli_state *cli, uint16_t fnum,
off_t offset, size_t size,
struct tevent_req **psmbreq)
@@ -181,7 +181,7 @@ struct tevent_req *cli_read_andx_create(TALLOC_CTX *mem_ctx,
}
struct tevent_req *cli_read_andx_send(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
+ struct tevent_context *ev,
struct cli_state *cli, uint16_t fnum,
off_t offset, size_t size)
{
@@ -289,7 +289,7 @@ struct cli_readall_state {
static void cli_readall_done(struct tevent_req *subreq);
static struct tevent_req *cli_readall_send(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
+ struct tevent_context *ev,
struct cli_state *cli,
uint16_t fnum,
off_t offset, size_t size)
@@ -412,7 +412,7 @@ struct cli_pull_subreq {
struct cli_pull_state {
struct tevent_req *req;
- struct event_context *ev;
+ struct tevent_context *ev;
struct cli_state *cli;
uint16_t fnum;
off_t start_offset;
@@ -473,7 +473,7 @@ static void cli_pull_read_done(struct tevent_req *read_req);
*/
struct tevent_req *cli_pull_send(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
+ struct tevent_context *ev,
struct cli_state *cli,
uint16_t fnum, off_t start_offset,
off_t size, size_t window_size,
@@ -684,7 +684,7 @@ NTSTATUS cli_pull(struct cli_state *cli, uint16_t fnum,
void *priv, off_t *received)
{
TALLOC_CTX *frame = talloc_stackframe();
- struct event_context *ev;
+ struct tevent_context *ev;
struct tevent_req *req;
NTSTATUS status = NT_STATUS_OK;
@@ -831,7 +831,7 @@ struct cli_write_andx_state {
static void cli_write_andx_done(struct tevent_req *subreq);
struct tevent_req *cli_write_andx_create(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
+ struct tevent_context *ev,
struct cli_state *cli, uint16_t fnum,
uint16_t mode, const uint8_t *buf,
off_t offset, size_t size,
@@ -894,7 +894,7 @@ struct tevent_req *cli_write_andx_create(TALLOC_CTX *mem_ctx,
}
struct tevent_req *cli_write_andx_send(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
+ struct tevent_context *ev,
struct cli_state *cli, uint16_t fnum,
uint16_t mode, const uint8_t *buf,
off_t offset, size_t size)
@@ -964,7 +964,7 @@ NTSTATUS cli_write_andx_recv(struct tevent_req *req, size_t *pwritten)
}
struct cli_writeall_state {
- struct event_context *ev;
+ struct tevent_context *ev;
struct cli_state *cli;
uint16_t fnum;
uint16_t mode;
@@ -977,7 +977,7 @@ struct cli_writeall_state {
static void cli_writeall_written(struct tevent_req *req);
static struct tevent_req *cli_writeall_send(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
+ struct tevent_context *ev,
struct cli_state *cli,
uint16_t fnum,
uint16_t mode,
@@ -1070,7 +1070,7 @@ NTSTATUS cli_writeall(struct cli_state *cli, uint16_t fnum, uint16_t mode,
size_t *pwritten)
{
TALLOC_CTX *frame = talloc_stackframe();
- struct event_context *ev;
+ struct tevent_context *ev;
struct tevent_req *req;
NTSTATUS status = NT_STATUS_NO_MEMORY;
@@ -1108,7 +1108,7 @@ struct cli_push_write_state {
};
struct cli_push_state {
- struct event_context *ev;
+ struct tevent_context *ev;
struct cli_state *cli;
uint16_t fnum;
uint16_t mode;
@@ -1182,7 +1182,7 @@ static bool cli_push_write_setup(struct tevent_req *req,
return true;
}
-struct tevent_req *cli_push_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
+struct tevent_req *cli_push_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
struct cli_state *cli,
uint16_t fnum, uint16_t mode,
off_t start_offset, size_t window_size,
@@ -1299,7 +1299,7 @@ NTSTATUS cli_push(struct cli_state *cli, uint16_t fnum, uint16_t mode,
void *priv)
{
TALLOC_CTX *frame = talloc_stackframe();
- struct event_context *ev;
+ struct tevent_context *ev;
struct tevent_req *req;
NTSTATUS status = NT_STATUS_OK;