]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/linklist.h
bgpd, lib: Use bool instead of uint8_t for community/prefix-list "any"
[mirror_frr.git] / lib / linklist.h
index d23d425d627fee83ac5e61cf036417c811f2dd90..00cb9f871460be3105b5d31700fc96f6e0cbbf59 100644 (file)
@@ -207,17 +207,6 @@ extern struct listnode *listnode_lookup(struct list *list, const void *data);
  */
 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.
  *
@@ -295,19 +284,6 @@ extern void list_delete_all_node(struct list *list);
  */
 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.
@@ -316,7 +292,7 @@ extern void list_add_list(struct list *list, struct list *add);
  * 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));