diff options
Diffstat (limited to 'source3/rpc_server/rpc_server.h')
-rw-r--r-- | source3/rpc_server/rpc_server.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/rpc_server/rpc_server.h b/source3/rpc_server/rpc_server.h index 18c790500c..3791589bb6 100644 --- a/source3/rpc_server/rpc_server.h +++ b/source3/rpc_server/rpc_server.h @@ -20,6 +20,8 @@ #ifndef _RPC_SERVER_H_ #define _RPC_SERVER_H_ +typedef bool (*dcerpc_ncacn_disconnect_fn)(struct pipes_struct *p); + void set_incoming_fault(struct pipes_struct *p); void process_complete_pdu(struct pipes_struct *p); bool setup_named_pipe_socket(const char *pipe_name, @@ -34,6 +36,7 @@ uint16_t setup_dcerpc_ncacn_tcpip_socket(struct tevent_context *ev_ctx, bool setup_dcerpc_ncalrpc_socket(struct tevent_context *ev_ctx, struct messaging_context *msg_ctx, struct ndr_syntax_id syntax_id, - const char *name); + const char *name, + dcerpc_ncacn_disconnect_fn fn); #endif /* _PRC_SERVER_H_ */ |