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/lib/messaging | |
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/lib/messaging')
-rw-r--r-- | source4/lib/messaging/irpc.h | 8 | ||||
-rw-r--r-- | source4/lib/messaging/messaging.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/source4/lib/messaging/irpc.h b/source4/lib/messaging/irpc.h index b8081b544d..2f75857e06 100644 --- a/source4/lib/messaging/irpc.h +++ b/source4/lib/messaging/irpc.h @@ -62,7 +62,7 @@ typedef NTSTATUS (*irpc_function_t)(struct irpc_message *, void *r); */ struct irpc_request { struct messaging_context *msg_ctx; - const struct dcerpc_interface_table *table; + const struct ndr_interface_table *table; int callnum; int callid; void *r; @@ -103,16 +103,16 @@ void messaging_deregister(struct messaging_context *msg, uint32_t msg_type, void NTSTATUS irpc_register(struct messaging_context *msg_ctx, - const struct dcerpc_interface_table *table, + const struct ndr_interface_table *table, int call, irpc_function_t fn, void *private); struct irpc_request *irpc_call_send(struct messaging_context *msg_ctx, struct server_id server_id, - const struct dcerpc_interface_table *table, + const struct ndr_interface_table *table, int callnum, void *r, TALLOC_CTX *ctx); NTSTATUS irpc_call_recv(struct irpc_request *irpc); NTSTATUS irpc_call(struct messaging_context *msg_ctx, struct server_id server_id, - const struct dcerpc_interface_table *table, + const struct ndr_interface_table *table, int callnum, void *r, TALLOC_CTX *ctx); NTSTATUS irpc_add_name(struct messaging_context *msg_ctx, const char *name); diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index 2a5c941584..24b5ff408d 100644 --- a/source4/lib/messaging/messaging.c +++ b/source4/lib/messaging/messaging.c @@ -620,7 +620,7 @@ struct messaging_context *messaging_client_init(TALLOC_CTX *mem_ctx, struct irpc_list { struct irpc_list *next, *prev; struct GUID uuid; - const struct dcerpc_interface_table *table; + const struct ndr_interface_table *table; int callnum; irpc_function_t fn; void *private; @@ -631,7 +631,7 @@ struct irpc_list { register a irpc server function */ NTSTATUS irpc_register(struct messaging_context *msg_ctx, - const struct dcerpc_interface_table *table, + const struct ndr_interface_table *table, int callnum, irpc_function_t fn, void *private) { struct irpc_list *irpc; @@ -843,7 +843,7 @@ static void irpc_timeout(struct event_context *ev, struct timed_event *te, */ struct irpc_request *irpc_call_send(struct messaging_context *msg_ctx, struct server_id server_id, - const struct dcerpc_interface_table *table, + const struct ndr_interface_table *table, int callnum, void *r, TALLOC_CTX *ctx) { struct irpc_header header; @@ -933,7 +933,7 @@ NTSTATUS irpc_call_recv(struct irpc_request *irpc) */ NTSTATUS irpc_call(struct messaging_context *msg_ctx, struct server_id server_id, - const struct dcerpc_interface_table *table, + const struct ndr_interface_table *table, int callnum, void *r, TALLOC_CTX *mem_ctx) { |