From 18a48df488f5fcf9b55abf61b09778bdc15373d7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 21 Aug 2007 12:20:33 +0000 Subject: r24594: pass down the ndr_interface_table in the samba3 client bindings instead of the pull and push functions metze (This used to be commit 5e3d4df9bca069708d72f548dc5ddfc7708ac122) --- source3/librpc/gen_ndr/cli_epmapper.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source3/librpc/gen_ndr/cli_epmapper.c') diff --git a/source3/librpc/gen_ndr/cli_epmapper.c b/source3/librpc/gen_ndr/cli_epmapper.c index e68c9e50f6..e00d9aa2a1 100644 --- a/source3/librpc/gen_ndr/cli_epmapper.c +++ b/source3/librpc/gen_ndr/cli_epmapper.c @@ -19,7 +19,7 @@ NTSTATUS rpccli_epm_Insert(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uin if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_Insert, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_INSERT, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_Insert, (ndr_push_flags_fn_t)ndr_push_epm_Insert); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_INSERT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -50,7 +50,7 @@ NTSTATUS rpccli_epm_Delete(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uin if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_Delete, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_DELETE, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_Delete, (ndr_push_flags_fn_t)ndr_push_epm_Delete); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_DELETE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -85,7 +85,7 @@ NTSTATUS rpccli_epm_Lookup(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uin if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_Lookup, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_LOOKUP, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_Lookup, (ndr_push_flags_fn_t)ndr_push_epm_Lookup); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_LOOKUP, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -121,7 +121,7 @@ NTSTATUS rpccli_epm_Map(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_Map, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_MAP, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_Map, (ndr_push_flags_fn_t)ndr_push_epm_Map); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_MAP, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -154,7 +154,7 @@ NTSTATUS rpccli_epm_LookupHandleFree(struct rpc_pipe_client *cli, TALLOC_CTX *me if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_LookupHandleFree, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_LOOKUPHANDLEFREE, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_LookupHandleFree, (ndr_push_flags_fn_t)ndr_push_epm_LookupHandleFree); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_LOOKUPHANDLEFREE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -185,7 +185,7 @@ NTSTATUS rpccli_epm_InqObject(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_InqObject, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_INQOBJECT, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_InqObject, (ndr_push_flags_fn_t)ndr_push_epm_InqObject); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_INQOBJECT, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -217,7 +217,7 @@ NTSTATUS rpccli_epm_MgmtDelete(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_MgmtDelete, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_MGMTDELETE, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_MgmtDelete, (ndr_push_flags_fn_t)ndr_push_epm_MgmtDelete); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_MGMTDELETE, &r); if (!NT_STATUS_IS_OK(status)) { return status; @@ -246,7 +246,7 @@ NTSTATUS rpccli_epm_MapAuth(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx) if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(epm_MapAuth, &r); - status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, NDR_EPM_MAPAUTH, &r, (ndr_pull_flags_fn_t)ndr_pull_epm_MapAuth, (ndr_push_flags_fn_t)ndr_push_epm_MapAuth); + status = cli_do_rpc_ndr(cli, mem_ctx, PI_EPMAPPER, &ndr_table_epmapper, NDR_EPM_MAPAUTH, &r); if (!NT_STATUS_IS_OK(status)) { return status; -- cgit