diff options
author | Not Zed <NotZed@Ximian.com> | 2004-01-20 13:33:12 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-01-20 13:33:12 +0800 |
commit | c5c43717419bcf6a6a3a5d5958090631dc7a13c9 (patch) | |
tree | 046170f46a9b68134ff08aa99c64c86113f18fde /camel/tests | |
parent | b6e44f08f719efee9c6ed90813d03ddbf42e9121 (diff) | |
download | gsoc2013-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/tests')
-rw-r--r-- | camel/tests/smime/pgp-mime.c | 4 | ||||
-rw-r--r-- | camel/tests/smime/pgp.c | 4 | ||||
-rw-r--r-- | camel/tests/smime/pkcs7.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/camel/tests/smime/pgp-mime.c b/camel/tests/smime/pgp-mime.c index 102092679a..2ec805b4a4 100644 --- a/camel/tests/smime/pgp-mime.c +++ b/camel/tests/smime/pgp-mime.c @@ -61,7 +61,7 @@ typedef struct _CamelPgpSessionClass { static char *get_password (CamelSession *session, const char *prompt, - gboolean reprompt, gboolean secret, + guint32 flags, CamelService *service, const char *item, CamelException *ex); @@ -102,7 +102,7 @@ camel_pgp_session_get_type (void) } static char * -get_password (CamelSession *session, const char *prompt, gboolean reprompt, gboolean secret, +get_password (CamelSession *session, const char *prompt, guint32 flags, CamelService *service, const char *item, CamelException *ex) { return g_strdup ("no.secret"); diff --git a/camel/tests/smime/pgp.c b/camel/tests/smime/pgp.c index 81ea6fabdf..098e3de7eb 100644 --- a/camel/tests/smime/pgp.c +++ b/camel/tests/smime/pgp.c @@ -54,7 +54,7 @@ typedef struct _CamelPgpSessionClass { static char *get_password (CamelSession *session, const char *prompt, - gboolean reprompt, gboolean secret, + guint32 flags, CamelService *service, const char *item, CamelException *ex); @@ -95,7 +95,7 @@ camel_pgp_session_get_type (void) } static char * -get_password (CamelSession *session, const char *prompt, gboolean reprompt, gboolean secret, +get_password (CamelSession *session, const char *prompt, guint32 flags, CamelService *service, const char *item, CamelException *ex) { return g_strdup ("no.secret"); diff --git a/camel/tests/smime/pkcs7.c b/camel/tests/smime/pkcs7.c index 2248d8656d..baedd36c8c 100644 --- a/camel/tests/smime/pkcs7.c +++ b/camel/tests/smime/pkcs7.c @@ -27,7 +27,7 @@ typedef struct _CamelTestSessionClass { static char *get_password (CamelSession *session, const char *prompt, - gboolean secret, CamelService *service, + guint32 flags, CamelService *service, const char *item, CamelException *ex); static void @@ -67,7 +67,7 @@ camel_test_session_get_type (void) } static char * -get_password (CamelSession *session, const char *prompt, gboolean secret, +get_password (CamelSession *session, const char *prompt, guint32 flags, CamelService *service, const char *item, CamelException *ex) { return g_strdup ("S/MIME v3 is rfc263x, now go and read them."); |