aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-session.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-01-20 13:33:12 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-20 13:33:12 +0800
commitc5c43717419bcf6a6a3a5d5958090631dc7a13c9 (patch)
tree046170f46a9b68134ff08aa99c64c86113f18fde /camel/camel-session.h
parentb6e44f08f719efee9c6ed90813d03ddbf42e9121 (diff)
downloadgsoc2013-evolution-c5c43717419bcf6a6a3a5d5958090631dc7a13c9.tar.gz
gsoc2013-evolution-c5c43717419bcf6a6a3a5d5958090631dc7a13c9.tar.zst
gsoc2013-evolution-c5c43717419bcf6a6a3a5d5958090631dc7a13c9.zip
** See bug #52817.
2004-01-20 Not Zed <NotZed@Ximian.com> ** See bug #52817. * camel-session.c (camel_session_get_password): merged reprompt and secret into a flags field, and add more options. Fixed all callers. svn path=/trunk/; revision=24323
Diffstat (limited to 'camel/camel-session.h')
-rw-r--r--camel/camel-session.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/camel/camel-session.h b/camel/camel-session.h
index e99d31a334..cd811a6304 100644
--- a/camel/camel-session.h
+++ b/camel/camel-session.h
@@ -52,6 +52,12 @@ typedef enum {
CAMEL_SESSION_ALERT_ERROR
} CamelSessionAlertType;
+enum {
+ CAMEL_SESSION_PASSWORD_REPROMPT = 1 << 0,
+ CAMEL_SESSION_PASSWORD_SECRET = 1 << 2,
+ CAMEL_SESSION_PASSWORD_STATIC = 1 << 3,
+};
+
struct _CamelSession
{
CamelObject parent_object;
@@ -91,8 +97,7 @@ typedef struct {
char * (*get_password) (CamelSession *session,
const char *prompt,
- gboolean reprompt,
- gboolean secret,
+ guint32 flags,
CamelService *service,
const char *item,
CamelException *ex);
@@ -158,8 +163,7 @@ char * camel_session_get_storage_path (CamelSession *session,
char * camel_session_get_password (CamelSession *session,
const char *prompt,
- gboolean reprompt,
- gboolean secret,
+ guint32 flags,
CamelService *service,
const char *item,
CamelException *ex);