diff options
Diffstat (limited to 'camel/camel-url.c')
-rw-r--r-- | camel/camel-url.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/camel/camel-url.c b/camel/camel-url.c index bba935b7b9..2777a3f32a 100644 --- a/camel/camel-url.c +++ b/camel/camel-url.c @@ -425,6 +425,12 @@ camel_url_set_param (CamelURL *url, const char *name, const char *value) g_datalist_set_data (&url->params, name, value ? g_strdup (value) : NULL); } +const char * +camel_url_get_param (CamelURL *url, const char *name) +{ + return g_datalist_get_data (&url->params, name); +} + /** * camel_url_encode: |