auth/gensec: add a gensec_update_ev() function
authorStefan Metzmacher <metze@samba.org>
Fri, 13 Dec 2013 18:18:48 +0000 (19:18 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Mar 2014 23:36:31 +0000 (00:36 +0100)
commit79f5275db2c1acd5adaee187c3953fbc5e2aff6c
treee6ec7cc20c7fd1fe2ce4017e6819e8da74dcbeee
parent40cf17eee2da0afa3bb498208879b449352cb4e1
auth/gensec: add a gensec_update_ev() function

This is the current gensec_update() which takes an optional
tevent_context structure and allows semi-async code.

This is just a temporary solution on the way to kill
the semi-async code completely, by using gensec_update_send/recv.

By providing a gensec_update_ev(), we can remove the explicit
tevent_context from gensec_update() and fix all the sane callers.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/gensec/gensec.c
auth/gensec/gensec.h