X-Git-Url: https://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/8d138742ae268344f406cb75d79aa6bf853f9d87..b0322a8536f3cab76471c98122fe1df75bb7c387:/courierauthsasl.h diff --git a/courierauthsasl.h b/courierauthsasl.h index 25e7c02..e57b21e 100644 --- a/courierauthsasl.h +++ b/courierauthsasl.h @@ -2,7 +2,7 @@ #define courierauthsasl_h /* -** Copyright 1998 - 2008 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.3 2008/12/02 03:41:19 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 */ /*