s4:rpc_server: only pass context to op_bind() hooks
[nivanova/samba-autobuild/.git] / source4 / rpc_server / dcerpc_server.h
index dfe48883353d37952a1cf3f593de5a65c6fb5dc8..8e404c0591c1c7657ee82fc8f343e00281b51e26 100644 (file)
@@ -45,7 +45,7 @@ struct dcesrv_interface {
        struct ndr_syntax_id syntax_id;
 
        /* this function is called when the client binds to this interface  */
-       NTSTATUS (*bind)(struct dcesrv_call_state *, const struct dcesrv_interface *, uint32_t if_version);
+       NTSTATUS (*bind)(struct dcesrv_connection_context *, const struct dcesrv_interface *);
 
        /* this function is called when the client disconnects the endpoint */
        void (*unbind)(struct dcesrv_connection_context *, const struct dcesrv_interface *);