*/
extern void *listnode_head(struct list *list);
-/*
- * Duplicate a list.
- *
- * list
- * list to duplicate
- *
- * Returns:
- * copy of the list
- */
-extern struct list *list_dup(struct list *l);
-
/*
* Sort a list in place.
*
*/
extern void list_delete_node(struct list *list, struct listnode *node);
-/*
- * Append a list to an existing list.
- *
- * Runtime is O(N) where N = listcount(add).
- *
- * list
- * list to append to
- *
- * add
- * list to append
- */
-extern void list_add_list(struct list *list, struct list *add);
-
/*
* Delete all nodes which satisfy a condition from a list.
* Deletes the node if cond function returns true for the node.
* list
* list to operate on
* cond
- * function pointer which takes node data as input and return TRUE or FALSE
+ * function pointer which takes node data as input and return true or false
*/
extern void list_filter_out_nodes(struct list *list, bool (*cond)(void *data));