libpurple/prefs.h

branch
soc.2013.gobjectification.plugins
changeset 37021
04c99b24db84
parent 37017
8e2b68c79fa1
child 37023
d9bcdc9a91e6
equal deleted inserted replaced
37020:03730619fbac 37021:04c99b24db84
122 /** 122 /**
123 * Add a new string list pref. 123 * Add a new string list pref.
124 * 124 *
125 * @name: The name of the pref 125 * @name: The name of the pref
126 * @value: The initial value to set 126 * @value: The initial value to set
127 * @note This function takes a copy of the strings in the value list. The list 127 * Note: This function takes a copy of the strings in the value list. The list
128 * itself and original copies of the strings are up to the caller to 128 * itself and original copies of the strings are up to the caller to
129 * free. 129 * free.
130 */ 130 */
131 void purple_prefs_add_string_list(const char *name, GList *value); 131 void purple_prefs_add_string_list(const char *name, GList *value);
132 132
141 /** 141 /**
142 * Add a new path list pref. 142 * Add a new path list pref.
143 * 143 *
144 * @name: The name of the pref 144 * @name: The name of the pref
145 * @value: The initial value to set 145 * @value: The initial value to set
146 * @note This function takes a copy of the strings in the value list. The list 146 * Note: This function takes a copy of the strings in the value list. The list
147 * itself and original copies of the strings are up to the caller to 147 * itself and original copies of the strings are up to the caller to
148 * free. 148 * free.
149 */ 149 */
150 void purple_prefs_add_path_list(const char *name, GList *value); 150 void purple_prefs_add_path_list(const char *name, GList *value);
151 151
294 /** 294 /**
295 * Returns a list of children for a pref 295 * Returns a list of children for a pref
296 * 296 *
297 * @name: The parent pref 297 * @name: The parent pref
298 * Returns: A list of newly allocated strings denoting the names of the children. 298 * Returns: A list of newly allocated strings denoting the names of the children.
299 * Returns @c NULL if there are no children or if pref doesn't exist. 299 * Returns %NULL if there are no children or if pref doesn't exist.
300 * The caller must free all the strings and the list. 300 * The caller must free all the strings and the list.
301 */ 301 */
302 GList *purple_prefs_get_children_names(const char *name); 302 GList *purple_prefs_get_children_names(const char *name);
303 303
304 /** 304 /**

mercurial