aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-auth.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-02 06:39:52 +0800
committerDan Winship <danw@src.gnome.org>2001-03-02 06:39:52 +0800
commit17d6ee994369ec0acf4e30cf74d251522a109890 (patch)
tree62cd9cc5fe1d787ed239bb906c27cf15fac7fe71 /camel/providers/imap/camel-imap-auth.h
parent61a496ffcad857b0dac176861206c4a98edc1620 (diff)
downloadgsoc2013-evolution-17d6ee994369ec0acf4e30cf74d251522a109890.tar
gsoc2013-evolution-17d6ee994369ec0acf4e30cf74d251522a109890.tar.gz
gsoc2013-evolution-17d6ee994369ec0acf4e30cf74d251522a109890.tar.bz2
gsoc2013-evolution-17d6ee994369ec0acf4e30cf74d251522a109890.tar.lz
gsoc2013-evolution-17d6ee994369ec0acf4e30cf74d251522a109890.tar.xz
gsoc2013-evolution-17d6ee994369ec0acf4e30cf74d251522a109890.tar.zst
gsoc2013-evolution-17d6ee994369ec0acf4e30cf74d251522a109890.zip
Add an "authtypes" hash table to CamelImapStore recording the supported
* providers/imap/camel-imap-store.c: Add an "authtypes" hash table to CamelImapStore recording the supported authtypes. (connect_to_server): Record supported authtypes in the authtypes hash rather than the capabilities bitmask, since now the IMAP code is no longer responsible for keeping track of which authtypes we support. (query_auth_types): Use camel_sasl_authtype_list to get the SASL-supported authtypes. (try_auth): New function to try a SASL auth mechanism. Sort of formerly imap_try_kerberos_v4_auth. (imap_connect): Get rid of the krb4-specific bits and genericize them for any SASL authtype. * providers/imap/Makefile.am: Remove camel-imap-auth.[ch] (moved into camel-imap-store.c since it's now constant size) and the KRB4_CFLAGS and KRB4_LDFLAGS references. svn path=/trunk/; revision=8463
Diffstat (limited to 'camel/providers/imap/camel-imap-auth.h')
-rw-r--r--camel/providers/imap/camel-imap-auth.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/camel/providers/imap/camel-imap-auth.h b/camel/providers/imap/camel-imap-auth.h
deleted file mode 100644
index fbbc5ef709..0000000000
--- a/camel/providers/imap/camel-imap-auth.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/* camel-imap-auth.h: IMAP AUTHENTICATE implementations */
-
-/*
- * Authors:
- * Dan Winship <danw@helixcode.com>
- *
- * Copyright (C) 2000 Helix Code, Inc.
- *
- * 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 Place, Suite 330, Boston, MA 02111-1307
- * USA
- */
-
-#ifndef CAMEL_IMAP_AUTH_H
-#define CAMEL_IMAP_AUTH_H 1
-
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus }*/
-
-#include "camel-imap-store.h"
-
-gboolean imap_try_kerberos_v4_auth (CamelImapStore *store, CamelException *ex);
-gboolean imap_try_gssapi_auth (CamelImapStore *store, CamelException *ex);
-
-#endif /* CAMEL_IMAP_AUTH_H */