X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Flist.h;h=4fe48dbeb465fc10ca0c65ad1982f7f0dfaff002;hb=268c8545aaf83b7433f43402f5c77e39e20006ef;hp=197fbb8b3088531f0830cf03f5416992ff81fb9a;hpb=a22041922f160667573e9a5ae3f4195e1668906a;p=tinc diff --git a/src/list.h b/src/list.h index 197fbb8b..4fe48dbe 100644 --- a/src/list.h +++ b/src/list.h @@ -54,6 +54,8 @@ extern void list_free_node(list_t *, list_node_t *); extern list_node_t *list_insert_head(list_t *, void *); extern list_node_t *list_insert_tail(list_t *, void *); +extern list_node_t *list_insert_after(list_t *, list_node_t *, void *); +extern list_node_t *list_insert_before(list_t *, list_node_t *, void *); extern void list_unlink_node(list_t *, list_node_t *); extern void list_delete_node(list_t *, list_node_t *);