summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_epmapper.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-21 12:20:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:08 -0500
commit18a48df488f5fcf9b55abf61b09778bdc15373d7 (patch)
treec91a46e312cb7e9d93ad7d41b2baf1f6a58e9ad4 /source3/librpc/gen_ndr/cli_epmapper.c
parent644b43d993db7ec709a2bc4e121426e7a27237e8 (diff)
downloadsamba-18a48df488f5fcf9b55abf61b09778bdc15373d7.tar.gz
samba-18a48df488f5fcf9b55abf61b09778bdc15373d7.tar.bz2
samba-18a48df488f5fcf9b55abf61b09778bdc15373d7.zip
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)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_epmapper.c')
-rw-r--r--source3/librpc/gen_ndr/cli_epmapper.c16
1 files changed, 8 insertions, 8 deletions
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;