curl-library
Re: SMTP authentication methods in API [PATCH]
Date: Thu, 24 Mar 2011 09:43:55 +0100
On Tue, Mar 22, 2011 at 8:43 AM, Dan Fandrich <dan_at_coneharvesters.com>wrote:
> On Tue, Mar 22, 2011 at 08:22:49AM +0100, Patricia Muscalu wrote:
> > Thank you for your answers. Here is my attempt to expose SMTP
> authentication
> > methods in API
> [...]
> > +/* SMTP authentication mechanism flags. */
> > +#define CURL_SMTP_AUTH_LOGIN 0x0001
> > +#define CURL_SMTP_AUTH_PLAIN 0x0002
> > +#define CURL_SMTP_AUTH_CRAM_MD5 0x0004
> > +#define CURL_SMTP_AUTH_DIGEST_MD5 0x0008
> > +#define CURL_SMTP_AUTH_GSSAPI 0x0010
> > +#define CURL_SMTP_AUTH_EXTERNAL 0x0020
>
> Since SMTP uses SASL for authentication, I suggest renaming these to
> CURL_SASL_AUTH_x so that they can be used for other protocols in the
> future.
I'm sending a new patch with the renamed auth flags.
Thank you,
Patricia
>
> >>> Dan
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- text/x-patch attachment: 0001-Expose-SMTP-authentication-methods.patch