diff options
Diffstat (limited to 'list.h')
-rw-r--r-- | list.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -19,6 +19,9 @@ int list_push(struct list *list, void *data); /* removes first entry from list and returns data */ void *list_shift(struct list *list); +/* removes first entry with matching data pointer */ +void list_removedata(struct list *list, void *data); + /* returns first node */ struct list_node *list_first(struct list *list); |