diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-08-30 13:44:01 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-09-03 17:00:18 +0200 |
commit | e26f0abe9183ac46fd8b749f7696f404414b780e (patch) | |
tree | 3e5a4df2e36aadd0577138ec18b822fc7bcc1a1c /source4/lib/messaging/irpc.h | |
parent | 328c7084f2356dfad5c482fac4cd783b8027ab6b (diff) | |
download | samba-e26f0abe9183ac46fd8b749f7696f404414b780e.tar.gz samba-e26f0abe9183ac46fd8b749f7696f404414b780e.tar.bz2 samba-e26f0abe9183ac46fd8b749f7696f404414b780e.zip |
s4:lib/messaging: add irpc dcerpc_binding_handle backend
metze
Diffstat (limited to 'source4/lib/messaging/irpc.h')
-rw-r--r-- | source4/lib/messaging/irpc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/lib/messaging/irpc.h b/source4/lib/messaging/irpc.h index 95cade12d5..158b9cb3ec 100644 --- a/source4/lib/messaging/irpc.h +++ b/source4/lib/messaging/irpc.h @@ -79,6 +79,10 @@ struct irpc_request { void (*fn)(struct irpc_request *); void *private_data; } async; + struct { + void (*handler)(struct irpc_request *irpc, struct irpc_message *m); + void *private_data; + } incoming; }; NTSTATUS irpc_register(struct messaging_context *msg_ctx, @@ -94,6 +98,11 @@ NTSTATUS irpc_call(struct messaging_context *msg_ctx, const struct ndr_interface_table *table, int callnum, void *r, TALLOC_CTX *ctx); +struct dcerpc_binding_handle *irpc_binding_handle(TALLOC_CTX *mem_ctx, + struct messaging_context *msg_ctx, + struct server_id server_id, + const struct ndr_interface_table *table); + NTSTATUS irpc_add_name(struct messaging_context *msg_ctx, const char *name); struct server_id *irpc_servers_byname(struct messaging_context *msg_ctx, TALLOC_CTX *mem_ctx, const char *name); void irpc_remove_name(struct messaging_context *msg_ctx, const char *name); |