Lines Matching defs:list
23 #include "cr-prop-list.h"
69 *@a_to_append: the property list to append
71 *Appends a property list to the current one.
73 *Returns the resulting prop list, or NULL if an error
86 /*go fetch the last element of the list */
99 *the current prop list.
104 *Returns the resulting property list, or NULL in case
112 CRPropList *list = NULL,
117 list = cr_prop_list_allocate ();
118 g_return_val_if_fail (list && PRIVATE (list), NULL);
120 PRIVATE (list)->prop = a_prop;
121 PRIVATE (list)->decl = a_decl;
123 result = cr_prop_list_append (a_this, list);
130 *@a_to_prepend: the new list to prepend.
132 *Prepends a list to the current list
133 *Returns the new properties list.
159 *Prepends a propertie to a list of properties
161 *Returns the new property list.
167 CRPropList *list = NULL,
173 list = cr_prop_list_allocate ();
174 g_return_val_if_fail (list, NULL);
175 PRIVATE (list)->prop = a_prop_name;
176 PRIVATE (list)->decl = a_decl;
177 result = cr_prop_list_prepend (a_this, list);
302 *Gets the next prop/decl pair in the list
304 *Returns the next prop/declaration pair of the list,
305 *or NULL if we reached end of list (or if an error occurs)
319 *Gets the previous prop/decl pair in the list
321 *Returns the previous prop/declaration pair of the list,
322 *or NULL if we reached end of list (or if an error occurs)
334 *@a_this: the current list of prop/decl pairs
337 *Unlinks a prop/decl pair from the list
339 *Returns the new list or NULL in case of an error.