diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-09-25 13:01:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:54 -0500 |
commit | 87f71eb8ad90cdf9ed7d3cd79d6211908a7d2d92 (patch) | |
tree | b471aa8abd398985cbd3dc72f8b56a2f225eb104 /source4/lib/messaging/irpc.h | |
parent | 6c85fa066c8fc1fbaf1554d76196ede0a64291e4 (diff) | |
download | samba-87f71eb8ad90cdf9ed7d3cd79d6211908a7d2d92.tar.gz samba-87f71eb8ad90cdf9ed7d3cd79d6211908a7d2d92.tar.bz2 samba-87f71eb8ad90cdf9ed7d3cd79d6211908a7d2d92.zip |
r10489: added the ability for irpc server to defer replies instead of replying
immediately. They set m->defer_reply = True;
(This used to be commit 3dcd800a5d3340d0f4855f9f08e73896ad8c3d83)
Diffstat (limited to 'source4/lib/messaging/irpc.h')
-rw-r--r-- | source4/lib/messaging/irpc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/lib/messaging/irpc.h b/source4/lib/messaging/irpc.h index f015215940..aa06a2de06 100644 --- a/source4/lib/messaging/irpc.h +++ b/source4/lib/messaging/irpc.h @@ -20,12 +20,20 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "librpc/gen_ndr/irpc.h" + /* an incoming irpc message */ struct irpc_message { uint32_t from; void *private; + struct irpc_header header; + struct ndr_pull *ndr; + BOOL defer_reply; + struct messaging_context *msg_ctx; + struct irpc_list *irpc; + void *data; }; /* don't allow calls to take too long */ @@ -100,4 +108,6 @@ NTSTATUS irpc_call(struct messaging_context *msg_ctx, NTSTATUS irpc_add_name(struct messaging_context *msg_ctx, const char *name); uint32_t *irpc_servers_byname(struct messaging_context *msg_ctx, const char *name); void irpc_remove_name(struct messaging_context *msg_ctx, const char *name); +NTSTATUS irpc_send_reply(struct irpc_message *m); + |