X-Git-Url: https://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/0fde1ce3109f2259ded7e8bff8d2b1c984252bc0..f77892e671e1261ec26e5133f86b8a52635f3dd2:/courierauthsasl.h diff --git a/courierauthsasl.h b/courierauthsasl.h index fef2335..e57b21e 100644 --- a/courierauthsasl.h +++ b/courierauthsasl.h @@ -2,7 +2,7 @@ #define courierauthsasl_h /* -** Copyright 1998 - 2004 Double Precision, Inc. See COPYING for +** Copyright 1998 - 2013 Double Precision, Inc. See COPYING for ** distribution information. */ @@ -13,7 +13,6 @@ extern "C" { #endif -static const char courierauthsasl_h_rcsid[]="$Id: courierauthsasl.h,v 1.2 2008/06/29 16:39:25 mrsam Exp $"; /* These family of functions are used to implement the SASL interface @@ -64,6 +63,15 @@ int auth_sasl_ex(const char *method, char **authtype_ptr, char **authdata_ptr); + /* + ** Given authtype and authdata, return the userid in the authentication + ** request. Returns a malloced buffer. + */ +char *auth_sasl_extract_userid(const char *authtype, + const char *authdata); + + + /* INTERNAL FUNCTIONS BELOW */ /*