diff options
Diffstat (limited to 'source4/auth/gensec/gensec.h')
-rw-r--r-- | source4/auth/gensec/gensec.h | 13 |
1 files changed, 12 insertions, 1 deletions
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; |