aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-session.h
diff options
context:
space:
mode:
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);