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. >>> Dan ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
