comparison libpurple/prefs.h @ 19156:f65c287e466e

Update the way _get_children_names is used. applied changes from afa84ce2e5e448ce3233a9effb3136e1e23fb969 through d7c71ed89067d861b85108f04ea056f23320d33d
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 11 Jul 2007 19:44:32 +0000
parents 53ad073898d0
children
comparison
equal deleted inserted replaced
19155:53ad073898d0 19156:f65c287e466e
279 * @param name The name of the pref 279 * @param name The name of the pref
280 * @return The value of the pref 280 * @return The value of the pref
281 */ 281 */
282 GList *purple_prefs_get_path_list(const char *name); 282 GList *purple_prefs_get_path_list(const char *name);
283 283
284 /*
285 * Returns a list of children for a pref
286 *
287 * @param name The parent pref
288 * @return A list of newly allocated strings denoting the names of the children.
289 * Returns @c NULL if there are no children or if pref doesn't exist.
290 * The caller must free all the strings and the list.
291 */
292 GList *purple_prefs_get_children_names(const char *name);
284 293
285 /** 294 /**
286 * Add a callback to a pref (and its children) 295 * Add a callback to a pref (and its children)
287 */ 296 */
288 guint purple_prefs_connect_callback(void *handle, const char *name, PurplePrefCallback cb, 297 guint purple_prefs_connect_callback(void *handle, const char *name, PurplePrefCallback cb,