diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-02-18 09:07:11 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-02-19 23:47:44 +0100 |
commit | 4ea37dd52105c7faff633d172f96972bd79305f5 (patch) | |
tree | 7615e38883ad294b2c2c562fb6bf9fca20e52d1f /libcli/smb | |
parent | f40c93afcbda48ebe109896fb115377a276b4457 (diff) | |
download | samba-4ea37dd52105c7faff633d172f96972bd79305f5.tar.gz samba-4ea37dd52105c7faff633d172f96972bd79305f5.tar.bz2 samba-4ea37dd52105c7faff633d172f96972bd79305f5.zip |
libcli/smb: make use of samba_tevent_context_init()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'libcli/smb')
-rw-r--r-- | libcli/smb/smb1cli_echo.c | 2 | ||||
-rw-r--r-- | libcli/smb/smb1cli_trans.c | 2 | ||||
-rw-r--r-- | libcli/smb/smb2cli_close.c | 2 | ||||
-rw-r--r-- | libcli/smb/smb2cli_create.c | 2 | ||||
-rw-r--r-- | libcli/smb/smb2cli_echo.c | 2 | ||||
-rw-r--r-- | libcli/smb/smb2cli_flush.c | 2 | ||||
-rw-r--r-- | libcli/smb/smb2cli_ioctl.c | 2 | ||||
-rw-r--r-- | libcli/smb/smb2cli_query_directory.c | 2 | ||||
-rw-r--r-- | libcli/smb/smb2cli_query_info.c | 2 | ||||
-rw-r--r-- | libcli/smb/smb2cli_read.c | 2 | ||||
-rw-r--r-- | libcli/smb/smb2cli_session.c | 2 | ||||
-rw-r--r-- | libcli/smb/smb2cli_set_info.c | 2 | ||||
-rw-r--r-- | libcli/smb/smb2cli_write.c | 2 | ||||
-rw-r--r-- | libcli/smb/smbXcli_base.c | 4 |
14 files changed, 15 insertions, 15 deletions
diff --git a/libcli/smb/smb1cli_echo.c b/libcli/smb/smb1cli_echo.c index cab8ae628c..4fb7c60473 100644 --- a/libcli/smb/smb1cli_echo.c +++ b/libcli/smb/smb1cli_echo.c @@ -152,7 +152,7 @@ NTSTATUS smb1cli_echo(struct smbXcli_conn *conn, uint32_t timeout_msec, status = NT_STATUS_INVALID_PARAMETER; goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } diff --git a/libcli/smb/smb1cli_trans.c b/libcli/smb/smb1cli_trans.c index cc4f7d3b91..38d4e2e95f 100644 --- a/libcli/smb/smb1cli_trans.c +++ b/libcli/smb/smb1cli_trans.c @@ -874,7 +874,7 @@ NTSTATUS smb1cli_trans(TALLOC_CTX *mem_ctx, struct smbXcli_conn *conn, goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { status = NT_STATUS_NO_MEMORY; goto fail; diff --git a/libcli/smb/smb2cli_close.c b/libcli/smb/smb2cli_close.c index c10a21f901..ed15a203d8 100644 --- a/libcli/smb/smb2cli_close.c +++ b/libcli/smb/smb2cli_close.c @@ -115,7 +115,7 @@ NTSTATUS smb2cli_close(struct smbXcli_conn *conn, status = NT_STATUS_INVALID_PARAMETER; goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } diff --git a/libcli/smb/smb2cli_create.c b/libcli/smb/smb2cli_create.c index 62efc48686..627bdcb935 100644 --- a/libcli/smb/smb2cli_create.c +++ b/libcli/smb/smb2cli_create.c @@ -256,7 +256,7 @@ NTSTATUS smb2cli_create(struct smbXcli_conn *conn, status = NT_STATUS_INVALID_PARAMETER; goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } diff --git a/libcli/smb/smb2cli_echo.c b/libcli/smb/smb2cli_echo.c index b978d506b9..29cbf26115 100644 --- a/libcli/smb/smb2cli_echo.c +++ b/libcli/smb/smb2cli_echo.c @@ -103,7 +103,7 @@ NTSTATUS smb2cli_echo(struct smbXcli_conn *conn, status = NT_STATUS_INVALID_PARAMETER; goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } diff --git a/libcli/smb/smb2cli_flush.c b/libcli/smb/smb2cli_flush.c index 4b14347277..0ca2699ce3 100644 --- a/libcli/smb/smb2cli_flush.c +++ b/libcli/smb/smb2cli_flush.c @@ -112,7 +112,7 @@ NTSTATUS smb2cli_flush(struct smbXcli_conn *conn, status = NT_STATUS_INVALID_PARAMETER; goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } diff --git a/libcli/smb/smb2cli_ioctl.c b/libcli/smb/smb2cli_ioctl.c index ced9ee63ab..15a990c256 100644 --- a/libcli/smb/smb2cli_ioctl.c +++ b/libcli/smb/smb2cli_ioctl.c @@ -306,7 +306,7 @@ NTSTATUS smb2cli_ioctl(struct smbXcli_conn *conn, status = NT_STATUS_INVALID_PARAMETER_MIX; goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } diff --git a/libcli/smb/smb2cli_query_directory.c b/libcli/smb/smb2cli_query_directory.c index 49d5365b9c..32f5bee0c5 100644 --- a/libcli/smb/smb2cli_query_directory.c +++ b/libcli/smb/smb2cli_query_directory.c @@ -186,7 +186,7 @@ NTSTATUS smb2cli_query_directory(struct smbXcli_conn *conn, status = NT_STATUS_INVALID_PARAMETER; goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } diff --git a/libcli/smb/smb2cli_query_info.c b/libcli/smb/smb2cli_query_info.c index 96847fc363..9ec16b5c99 100644 --- a/libcli/smb/smb2cli_query_info.c +++ b/libcli/smb/smb2cli_query_info.c @@ -222,7 +222,7 @@ NTSTATUS smb2cli_query_info(struct smbXcli_conn *conn, status = NT_STATUS_INVALID_PARAMETER_MIX; goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } diff --git a/libcli/smb/smb2cli_read.c b/libcli/smb/smb2cli_read.c index 11bcae7eed..0adb403794 100644 --- a/libcli/smb/smb2cli_read.c +++ b/libcli/smb/smb2cli_read.c @@ -165,7 +165,7 @@ NTSTATUS smb2cli_read(struct smbXcli_conn *conn, status = NT_STATUS_INVALID_PARAMETER; goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } diff --git a/libcli/smb/smb2cli_session.c b/libcli/smb/smb2cli_session.c index d34fbd4fe6..537c17111d 100644 --- a/libcli/smb/smb2cli_session.c +++ b/libcli/smb/smb2cli_session.c @@ -313,7 +313,7 @@ NTSTATUS smb2cli_logoff(struct smbXcli_conn *conn, status = NT_STATUS_INVALID_PARAMETER; goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } diff --git a/libcli/smb/smb2cli_set_info.c b/libcli/smb/smb2cli_set_info.c index 0ac470366b..d5c7e583f1 100644 --- a/libcli/smb/smb2cli_set_info.c +++ b/libcli/smb/smb2cli_set_info.c @@ -155,7 +155,7 @@ NTSTATUS smb2cli_set_info(struct smbXcli_conn *conn, status = NT_STATUS_INVALID_PARAMETER_MIX; goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } diff --git a/libcli/smb/smb2cli_write.c b/libcli/smb/smb2cli_write.c index e7d7f755b1..8e65460fcb 100644 --- a/libcli/smb/smb2cli_write.c +++ b/libcli/smb/smb2cli_write.c @@ -140,7 +140,7 @@ NTSTATUS smb2cli_write(struct smbXcli_conn *conn, status = NT_STATUS_INVALID_PARAMETER; goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c index 421e884c90..4c60a05693 100644 --- a/libcli/smb/smbXcli_base.c +++ b/libcli/smb/smbXcli_base.c @@ -561,7 +561,7 @@ NTSTATUS smbXcli_conn_samba_suicide(struct smbXcli_conn *conn, status = NT_STATUS_INVALID_PARAMETER_MIX; goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } @@ -4430,7 +4430,7 @@ NTSTATUS smbXcli_negprot(struct smbXcli_conn *conn, status = NT_STATUS_INVALID_PARAMETER_MIX; goto fail; } - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } |