aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/addressbook-storage.h')
-rw-r--r--addressbook/gui/component/addressbook-storage.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/addressbook/gui/component/addressbook-storage.h b/addressbook/gui/component/addressbook-storage.h
index 6d0c6252cf..edaa5cfb83 100644
--- a/addressbook/gui/component/addressbook-storage.h
+++ b/addressbook/gui/component/addressbook-storage.h
@@ -27,12 +27,6 @@
#include "evolution-storage.h"
typedef enum {
- ADDRESSBOOK_SOURCE_LDAP,
- ADDRESSBOOK_SOURCE_FILE,
- ADDRESSBOOK_SOURCE_LAST
-} AddressbookSourceType;
-
-typedef enum {
ADDRESSBOOK_LDAP_AUTH_NONE,
ADDRESSBOOK_LDAP_AUTH_SIMPLE_EMAIL,
ADDRESSBOOK_LDAP_AUTH_SIMPLE_BINDDN,
@@ -45,8 +39,13 @@ typedef enum {
ADDRESSBOOK_LDAP_SCOPE_LAST
} AddressbookLDAPScopeType;
+typedef enum {
+ ADDRESSBOOK_LDAP_SSL_NEVER,
+ ADDRESSBOOK_LDAP_SSL_WHENEVER_POSSIBLE,
+ ADDRESSBOOK_LDAP_SSL_ALWAYS
+} AddressbookLDAPSSLType;
+
typedef struct {
- AddressbookSourceType type;
char *name;
char *description;
char *host;
@@ -54,11 +53,13 @@ typedef struct {
char *rootdn;
AddressbookLDAPScopeType scope;
AddressbookLDAPAuthType auth;
+ AddressbookLDAPSSLType ssl;
char *email_addr; /* used in AUTH_SIMPLE_EMAIL */
char *binddn; /* used in AUTH_SIMPLE_BINDDN */
gboolean remember_passwd;
- char *uri; /* filled in from the above */
int limit;
+
+ char *uri; /* filled in from the above */
} AddressbookSource;
void addressbook_storage_setup (EvolutionShellComponent *shell_component,