From f9ca9e46ad24036bf00cb361a6cef4b2e7e98d7d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 9 May 2010 17:20:01 +0200 Subject: Finish removal of iconv_convenience in public API's. --- libcli/named_pipe_auth/npa_tstream.c | 7 ++----- libcli/named_pipe_auth/npa_tstream.h | 1 - 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'libcli/named_pipe_auth') diff --git a/libcli/named_pipe_auth/npa_tstream.c b/libcli/named_pipe_auth/npa_tstream.c index b41fa3eb6d..20228a2df2 100644 --- a/libcli/named_pipe_auth/npa_tstream.c +++ b/libcli/named_pipe_auth/npa_tstream.c @@ -39,7 +39,6 @@ struct tstream_npa { struct tstream_npa_connect_state { struct { struct tevent_context *ev; - struct smb_iconv_convenience *smb_iconv_c; } caller; const char *unix_path; @@ -59,7 +58,6 @@ static void tstream_npa_connect_unix_done(struct tevent_req *subreq); struct tevent_req *tstream_npa_connect_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, - struct smb_iconv_convenience *smb_iconv_c, const char *directory, const char *npipe, const struct tsocket_address *client, @@ -83,7 +81,6 @@ struct tevent_req *tstream_npa_connect_send(TALLOC_CTX *mem_ctx, } state->caller.ev = ev; - state->caller.smb_iconv_c = smb_iconv_c; state->unix_path = talloc_asprintf(state, "%s/%s", directory, @@ -161,7 +158,7 @@ struct tevent_req *tstream_npa_connect_send(TALLOC_CTX *mem_ctx, } ndr_err = ndr_push_struct_blob(&state->auth_req_blob, - state, smb_iconv_c, &state->auth_req, + state, &state->auth_req, (ndr_push_flags_fn_t)ndr_push_named_pipe_auth_req); if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { tevent_req_error(req, EINVAL); @@ -343,7 +340,7 @@ static void tstream_npa_connect_readv_done(struct tevent_req *subreq) ndr_err = ndr_pull_struct_blob( &state->auth_rep_blob, state, - state->caller.smb_iconv_c, &state->auth_rep, + &state->auth_rep, (ndr_pull_flags_fn_t)ndr_pull_named_pipe_auth_rep); if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { diff --git a/libcli/named_pipe_auth/npa_tstream.h b/libcli/named_pipe_auth/npa_tstream.h index bff010f094..7a19e10410 100644 --- a/libcli/named_pipe_auth/npa_tstream.h +++ b/libcli/named_pipe_auth/npa_tstream.h @@ -26,7 +26,6 @@ struct netr_SamInfo3; struct tevent_req *tstream_npa_connect_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, - struct smb_iconv_convenience *smb_iconv_c, const char *directory, const char *npipe, const struct tsocket_address *client, -- cgit