mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
s3-rpc_server: add termination function
This way we can act when a client disconnects. Signed-off-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
committed by
Andreas Schneider
parent
d67fc9c1eb
commit
a1394fc934
@ -23,6 +23,7 @@
|
||||
struct pipes_struct;
|
||||
|
||||
typedef bool (*dcerpc_ncacn_disconnect_fn)(struct pipes_struct *p);
|
||||
typedef void (named_pipe_termination_fn)(void *private_data);
|
||||
|
||||
void set_incoming_fault(struct pipes_struct *p);
|
||||
void process_complete_pdu(struct pipes_struct *p);
|
||||
@ -32,7 +33,9 @@ bool setup_named_pipe_socket(const char *pipe_name,
|
||||
struct messaging_context *msg_ctx);
|
||||
void named_pipe_accept_function(struct tevent_context *ev_ctx,
|
||||
struct messaging_context *msg_ctx,
|
||||
const char *pipe_name, int fd);
|
||||
const char *pipe_name, int fd,
|
||||
named_pipe_termination_fn *term_fn,
|
||||
void *private_data);
|
||||
|
||||
uint16_t setup_dcerpc_ncacn_tcpip_socket(struct tevent_context *ev_ctx,
|
||||
struct messaging_context *msg_ctx,
|
||||
|
Reference in New Issue
Block a user