diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-08-19 20:46:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:02:12 -0500 |
commit | b8cdadced4d2a26a63b8bbe397c12df949783ed4 (patch) | |
tree | 4d84ee7ca1faf790f347ebbbc172eef3b48dac78 /source4/scripting | |
parent | 6b62f15ce7ffc6f47bf61a9b87b2b892da3c3f2b (diff) | |
download | samba-b8cdadced4d2a26a63b8bbe397c12df949783ed4.tar.gz samba-b8cdadced4d2a26a63b8bbe397c12df949783ed4.tar.bz2 samba-b8cdadced4d2a26a63b8bbe397c12df949783ed4.zip |
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)
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/ejs/ejsrpc.h | 2 | ||||
-rw-r--r-- | source4/scripting/ejs/smbcalls_rpc.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/ejs/ejsrpc.h b/source4/scripting/ejs/ejsrpc.h index 4c7e5d9ee5..3bfb666dec 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 854a42e5fb..995760bfe1 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; |