From c3db21df6ef94b5fb91a5c0dbdcfc518c299b37c Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sun, 1 Apr 2001 22:10:55 +0000 Subject: Updated the authtype values. 2001-04-01 Jeffrey Stedfast * camel-sasl-plain.c: * camel-sasl-anonymous.c: * camel-sasl-digest-md5.c: * camel-sasl-cram-md5.c: * camel-sasl-kerberos4.c: Updated the authtype values. * camel-service.h: Added another field to CamelServiceAuthType that specifies whether or not the mechanism supports "quick auth" which means that the client can send the initial challenge in the AUTH request. * camel-sasl.c (camel_sasl_new): Add support for LOGIN. (camel_sasl_authtype_list): Here too. (camel_sasl_authtype): And finally here. * camel-sasl-plain.c: Define camel_sasl_login_authtype. * providers/smtp/camel-smtp-transport.c (smtp_auth): Only unref the SASL object if it exists. svn path=/trunk/; revision=9086 --- camel/camel-sasl-anonymous.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'camel/camel-sasl-anonymous.c') diff --git a/camel/camel-sasl-anonymous.c b/camel/camel-sasl-anonymous.c index 5626d4647f..e24bb50182 100644 --- a/camel/camel-sasl-anonymous.c +++ b/camel/camel-sasl-anonymous.c @@ -29,6 +29,16 @@ #include "camel-internet-address.h" #include +CamelServiceAuthType camel_sasl_anonymous_authtype = { + N_("Anonymous"), + + N_("This option will connect to the server using an anonymous login."), + + "ANONYMOUS", + FALSE, + TRUE +}; + static CamelSaslClass *parent_class = NULL; /* Returns the class for a CamelSaslAnonymous */ -- cgit v1.2.3