diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/gensec/gensec.c | 11 | ||||
-rw-r--r-- | source4/auth/gensec/gensec.h | 13 |
2 files changed, 12 insertions, 12 deletions
diff --git a/source4/auth/gensec/gensec.c b/source4/auth/gensec/gensec.c index ecdac8564a..7825949bdc 100644 --- a/source4/auth/gensec/gensec.c +++ b/source4/auth/gensec/gensec.c @@ -929,17 +929,6 @@ _PUBLIC_ NTSTATUS gensec_update(struct gensec_security *gensec_security, TALLOC_ return gensec_security->ops->update(gensec_security, out_mem_ctx, in, out); } -struct gensec_update_request { - struct gensec_security *gensec_security; - DATA_BLOB in; - DATA_BLOB out; - NTSTATUS status; - struct { - void (*fn)(struct gensec_update_request *req, void *private_data); - void *private_data; - } callback; -}; - static void gensec_update_async_timed_handler(struct event_context *ev, struct timed_event *te, struct timeval t, void *ptr) { diff --git a/source4/auth/gensec/gensec.h b/source4/auth/gensec/gensec.h index ce015086f6..b154619edf 100644 --- a/source4/auth/gensec/gensec.h +++ b/source4/auth/gensec/gensec.h @@ -33,7 +33,6 @@ #define GENSEC_OID_KERBEROS5_USER2USER "1 2 840 113554 1 2 2 3" struct gensec_security; -struct gensec_update_request; struct gensec_target { const char *principal; const char *hostname; @@ -56,6 +55,18 @@ enum gensec_role struct auth_session_info; +struct gensec_update_request { + struct gensec_security *gensec_security; + void *private_data; + DATA_BLOB in; + DATA_BLOB out; + NTSTATUS status; + struct { + void (*fn)(struct gensec_update_request *req, void *private_data); + void *private_data; + } callback; +}; + struct gensec_security_ops { const char *name; const char *sasl_name; |