From b8cdadced4d2a26a63b8bbe397c12df949783ed4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 19 Aug 2007 20:46:45 +0000 Subject: r24551: rename dcerpc_interface_table -> ndr_interface_table rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c) --- source4/scripting/ejs/ejsrpc.h | 2 +- source4/scripting/ejs/smbcalls_rpc.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/scripting') diff --git a/source4/scripting/ejs/ejsrpc.h b/source4/scripting/ejs/ejsrpc.h index 4c7e5d9ee55..3bfb666dec0 100644 --- a/source4/scripting/ejs/ejsrpc.h +++ b/source4/scripting/ejs/ejsrpc.h @@ -42,7 +42,7 @@ NTSTATUS smbcalls_register_ejs(const char *name, MprCFunction fn); int ejs_rpc_call(int eid, int argc, struct MprVar **argv, - const struct dcerpc_interface_table *iface, int callnum, + const struct ndr_interface_table *iface, int callnum, ejs_pull_function_t ejs_pull, ejs_push_function_t ejs_push); NTSTATUS ejs_pull_struct_start(struct ejs_rpc *ejs, struct MprVar **v, const char *name); diff --git a/source4/scripting/ejs/smbcalls_rpc.c b/source4/scripting/ejs/smbcalls_rpc.c index 854a42e5fba..995760bfe1a 100644 --- a/source4/scripting/ejs/smbcalls_rpc.c +++ b/source4/scripting/ejs/smbcalls_rpc.c @@ -110,7 +110,7 @@ static int ejs_irpc_connect(MprVarHandle eid, int argc, char **argv) static int ejs_rpc_connect(MprVarHandle eid, int argc, char **argv) { const char *binding, *pipe_name; - const struct dcerpc_interface_table *iface; + const struct ndr_interface_table *iface; NTSTATUS status; struct dcerpc_pipe *p; struct cli_credentials *creds; @@ -176,7 +176,7 @@ done: make an irpc call - called via the same interface as rpc */ static int ejs_irpc_call(int eid, struct MprVar *io, - const struct dcerpc_interface_table *iface, int callnum, + const struct ndr_interface_table *iface, int callnum, ejs_pull_function_t ejs_pull, ejs_push_function_t ejs_push) { NTSTATUS status; @@ -276,7 +276,7 @@ done: code */ int ejs_rpc_call(int eid, int argc, struct MprVar **argv, - const struct dcerpc_interface_table *iface, int callnum, + const struct ndr_interface_table *iface, int callnum, ejs_pull_function_t ejs_pull, ejs_push_function_t ejs_push) { struct MprVar *io; -- cgit