X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-conf.h;h=49f6954db9b8536f7af873671e4859c8faaf027a;hp=55ee3ab313d1eb28d5b81a347322df79ff31b174;hb=c9ef57538d8fde41813a60501d858670ec018be8;hpb=64f330406ee211787d0965b7ae2d75657eb6f696 diff --git a/src/modest-conf.h b/src/modest-conf.h index 55ee3ab..49f6954 100644 --- a/src/modest-conf.h +++ b/src/modest-conf.h @@ -134,6 +134,20 @@ gint modest_conf_get_int (ModestConf* self, const gchar* key, GError gboolean modest_conf_get_bool (ModestConf* self, const gchar* key, GError **err); +/** + * modest_conf_get_list: + * @self: a ModestConf instance + * @key: the key of the value to retrieve + * @list_type: the type of the elements of the list + * @err: a GError ptr, or NULL to ignore. + * + * get a list of values from the configuration system + * + * Returns: a list with the values for the key, or NULL in case of error + * @err gives details in case of error + */ +GSList * modest_conf_get_list (ModestConf* self, const gchar* key, + ModestConfValueType list_type, GError **err); /** * modest_conf_set_string: