From e7f541396715ee2895abcf73044b91ae9b746201 Mon Sep 17 00:00:00 2001 From: xXx-caillou-xXx Date: Wed, 20 Dec 2017 18:09:53 +0100 Subject: Better parsing of the rules Thanks to this huge commit from @xXx-caillou-xXx, we can now write amazingly flexible rules.--- src/sp_list.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sp_list.h') diff --git a/src/sp_list.h b/src/sp_list.h index dda139f..7878f78 100644 --- a/src/sp_list.h +++ b/src/sp_list.h @@ -9,6 +9,7 @@ typedef struct sp_node_s { } sp_node_t; sp_node_t *sp_list_new(); +sp_node_t *sp_list_sort(sp_node_t *, int (*)(sp_node_t *, sp_node_t *)); void sp_list_insert(sp_node_t *, void *); void sp_list_free(sp_node_t *); void sp_list_prepend(sp_node_t *, void *); -- cgit v1.3