diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-04-02 06:54:44 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-04-02 06:54:44 +0800 |
commit | b27a35eae5e2f63a15ec9c151b70b31b7be6c8fe (patch) | |
tree | 5171fb44493d387053774d9568133ed36ed61434 /camel/camel-sasl-login.h | |
parent | 1193763d9e8b6abf209bc6593a7e09dd76359bb1 (diff) | |
download | gsoc2013-evolution-b27a35eae5e2f63a15ec9c151b70b31b7be6c8fe.tar.gz gsoc2013-evolution-b27a35eae5e2f63a15ec9c151b70b31b7be6c8fe.tar.zst gsoc2013-evolution-b27a35eae5e2f63a15ec9c151b70b31b7be6c8fe.zip |
New files to handle the LOGIN SASL mechanism.
2001-04-01 Jeffrey Stedfast <fejj@ximian.com>
* camel-sasl-login.[c,h]: New files to handle the LOGIN SASL
mechanism.
* camel-sasl-plain.c: Removed the definition of
camel_sasl_login_authtype.
* camel-sasl.c (camel_sasl_new): Oops. I thought LOGIN was an
alias to PLAIN. I was wrong. These two SASL objects have to be
separate.
* providers/smtp/camel-smtp-transport.c (smtp_auth): Updated to
check for and use authmech->quick_login when available.
svn path=/trunk/; revision=9088
Diffstat (limited to 'camel/camel-sasl-login.h')
-rw-r--r-- | camel/camel-sasl-login.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/camel/camel-sasl-login.h b/camel/camel-sasl-login.h new file mode 100644 index 0000000000..7dacaf82e4 --- /dev/null +++ b/camel/camel-sasl-login.h @@ -0,0 +1,61 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Authors: Jeffrey Stedfast <fejj@ximian.com> + * + * Copyright 2001 Ximian, Inc. (www.ximian.com) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. + * + */ + +#ifndef CAMEL_SASL_LOGIN_H +#define CAMEL_SASL_LOGIN_H + +#ifdef __cplusplus +extern "C" { +#pragma } +#endif /* __cplusplus }*/ + +#include <camel/camel-sasl.h> + +#define CAMEL_SASL_LOGIN_TYPE (camel_sasl_login_get_type ()) +#define CAMEL_SASL_LOGIN(obj) (CAMEL_CHECK_CAST((obj), CAMEL_SASL_LOGIN_TYPE, CamelSaslLogin)) +#define CAMEL_SASL_LOGIN_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_SASL_LOGIN_TYPE, CamelSaslLoginClass)) +#define CAMEL_IS_SASL_LOGIN(o) (CAMEL_CHECK_TYPE((o), CAMEL_SASL_LOGIN_TYPE)) + +typedef struct _CamelSaslLogin { + CamelSasl parent_object; + + struct _CamelSaslLoginPrivate *priv; + +} CamelSaslLogin; + + +typedef struct _CamelSaslLoginClass { + CamelSaslClass parent_class; + +} CamelSaslLoginClass; + + +/* Standard Camel function */ +CamelType camel_sasl_login_get_type (void); + +extern CamelServiceAuthType camel_sasl_login_authtype; + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* CAMEL_SASL_LOGIN_H */ |