aboutsummaryrefslogtreecommitdiffstats
path: root/camel/url-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/url-util.h')
-rw-r--r--camel/url-util.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/camel/url-util.h b/camel/url-util.h
index 20a8b91b39..19b4997e39 100644
--- a/camel/url-util.h
+++ b/camel/url-util.h
@@ -39,11 +39,15 @@ typedef struct {
gchar *port;
gchar *path;
- /* used only as a cache */
- gchar *url_string;
} Gurl;
-Gurl *g_url_new (gchar *url_string);
+/* the cache system has been disabled because it would
+ need the user to use accessors instead of modifying the
+ structure field. As the speed is not so important here,
+ I chose not to use it */
+
+Gurl *g_url_new (const gchar *url_string);
+void g_url_free (Gurl *url);
#ifdef __cplusplus
}