summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2007-03-06 22:53:10 +0000
committerDenis Vlasenko2007-03-06 22:53:10 +0000
commitc115fdbc800d7573d61db98c4697ed12078e7684 (patch)
tree7d389439583b48b42692f10b121ffd4e7b24aa76 /include
parent9431e564aa5a595613929d4b1df82d811701febc (diff)
downloadbusybox-c115fdbc800d7573d61db98c4697ed12078e7684.zip
busybox-c115fdbc800d7573d61db98c4697ed12078e7684.tar.gz
ifupdown: code to deconstruct the state_list gracefully
(patch by Gabriel L. Somlo <somlo@cmu.edu>)
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 4293ae2..809d844 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -475,6 +475,7 @@ typedef struct llist_s {
extern void llist_add_to(llist_t **old_head, void *data);
extern void llist_add_to_end(llist_t **list_head, void *data);
extern void *llist_pop(llist_t **elm);
+extern void llist_unlink(llist_t **head, llist_t *elm);
extern void llist_free(llist_t *elm, void (*freeit)(void *data));
extern llist_t* llist_rev(llist_t *list);