From 3fd75229b32652e2b96a5ece526b8ca9a9dca712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 12 Jun 2007 17:54:00 +0000 Subject: [PATCH] Add sendto hooks and opaque structure. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21060 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/krb5/krb5.h b/lib/krb5/krb5.h index 8f6c4f786..5c18a436f 100644 --- a/lib/krb5/krb5.h +++ b/lib/krb5/krb5.h @@ -756,6 +756,14 @@ enum { KRB5_PRINCIPAL_UNPARSE_NO_REALM = 2 }; +typedef struct krb5_sendto_ctx *krb5_sendto_ctx; + +#define KRB5_SENDTO_DONE 0 +#define KRB5_SENDTO_RESTART 1 +#define KRB5_SENDTO_CONTINUE 2 + +typedef krb5_error_code (*krb5_sendto_ctx_func)(krb5_context, krb5_sendto_ctx, void *, const krb5_data *, int *); + struct credentials; /* this is to keep the compiler happy */ struct getargs; struct sockaddr;