From c92c8b1fe42d8b4aa229b6be0172844a9a4a8bee Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 26 Mar 2001 14:05:44 +0000 Subject: Add missing accessor. * camel-url.c (camel_url_get_param): Add missing accessor. svn path=/trunk/; revision=8943 --- camel/camel-url.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'camel/camel-url.c') 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: -- cgit