aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-url.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-30 01:34:00 +0800
committerDan Winship <danw@src.gnome.org>2001-03-30 01:34:00 +0800
commitbd52985962ec52ed1a89a466c66fab61e5fe9134 (patch)
treef88fa33bdeefeff0d51e994825e91897dfd1b82b /camel/camel-url.h
parentfeaa9ddc81a8d4f0c3c037fd2822a56107bbab6b (diff)
downloadgsoc2013-evolution-bd52985962ec52ed1a89a466c66fab61e5fe9134.tar
gsoc2013-evolution-bd52985962ec52ed1a89a466c66fab61e5fe9134.tar.gz
gsoc2013-evolution-bd52985962ec52ed1a89a466c66fab61e5fe9134.tar.bz2
gsoc2013-evolution-bd52985962ec52ed1a89a466c66fab61e5fe9134.tar.lz
gsoc2013-evolution-bd52985962ec52ed1a89a466c66fab61e5fe9134.tar.xz
gsoc2013-evolution-bd52985962ec52ed1a89a466c66fab61e5fe9134.tar.zst
gsoc2013-evolution-bd52985962ec52ed1a89a466c66fab61e5fe9134.zip
change "gboolean show_passwd" to "guint32 flags".
* camel-url.c (camel_url_to_string): change "gboolean show_passwd" to "guint32 flags". * tests/misc/url.c (main): Update calls to camel_url_to_string * providers/imap/camel-imap-store.c (construct): Call camel_url_to_string with flags to hide password, authtype, and params to create the base_url. (etc): Update for the fact that the base_url no longer has the "/" at the end. * camel-service.c (construct): Update calls to camel_url_to_string (pass CAMEL_URL_HIDE_PASSWORD) svn path=/trunk/; revision=9014
Diffstat (limited to 'camel/camel-url.h')
-rw-r--r--camel/camel-url.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/camel/camel-url.h b/camel/camel-url.h
index 85464a2fd0..9465da06a1 100644
--- a/camel/camel-url.h
+++ b/camel/camel-url.h
@@ -49,9 +49,13 @@ typedef struct {
char *fragment;
} CamelURL;
+#define CAMEL_URL_HIDE_PASSWORD (1 << 0)
+#define CAMEL_URL_HIDE_PARAMS (1 << 1)
+#define CAMEL_URL_HIDE_AUTH (1 << 2)
+
CamelURL *camel_url_new_with_base (CamelURL *base, const char *url_string);
CamelURL *camel_url_new (const char *url_string, CamelException *ex);
-char *camel_url_to_string (CamelURL *url, gboolean show_password);
+char *camel_url_to_string (CamelURL *url, guint32 flags);
void camel_url_free (CamelURL *url);
char *camel_url_encode (char *part, gboolean escape_unsafe, char *escape_extra);