diff options
Diffstat (limited to 'source4/auth/gensec/socket.h')
-rw-r--r-- | source4/auth/gensec/socket.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source4/auth/gensec/socket.h b/source4/auth/gensec/socket.h index 1641e50868..a70b728e3f 100644 --- a/source4/auth/gensec/socket.h +++ b/source4/auth/gensec/socket.h @@ -20,8 +20,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -struct socket_context *gensec_socket_init(struct gensec_security *gensec_security, - struct socket_context *socket, - struct event_context *ev, - void (*recv_handler)(void *, uint16_t), - void *recv_private); +NTSTATUS gensec_socket_init(struct gensec_security *gensec_security, + struct socket_context *current_socket, + struct event_context *ev, + void (*recv_handler)(void *, uint16_t), + void *recv_private, + struct socket_context **new_socket); |