diff options
| author | xXx-caillou-xXx | 2017-12-20 18:09:53 +0100 |
|---|---|---|
| committer | jvoisin | 2017-12-20 18:09:53 +0100 |
| commit | e7f541396715ee2895abcf73044b91ae9b746201 (patch) | |
| tree | ba0e9765e7f14f04b92585df1f3fcd1830ab4b00 /src/sp_list.h | |
| parent | 8d6cc4f2b63c3f0dc31fe6cecd34ac023ea1cccb (diff) | |
Better parsing of the rules
Thanks to this huge commit from @xXx-caillou-xXx, we can now write amazingly flexible rules.
Diffstat (limited to 'src/sp_list.h')
| -rw-r--r-- | src/sp_list.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 { | |||
| 9 | } sp_node_t; | 9 | } sp_node_t; |
| 10 | 10 | ||
| 11 | sp_node_t *sp_list_new(); | 11 | sp_node_t *sp_list_new(); |
| 12 | sp_node_t *sp_list_sort(sp_node_t *, int (*)(sp_node_t *, sp_node_t *)); | ||
| 12 | void sp_list_insert(sp_node_t *, void *); | 13 | void sp_list_insert(sp_node_t *, void *); |
| 13 | void sp_list_free(sp_node_t *); | 14 | void sp_list_free(sp_node_t *); |
| 14 | void sp_list_prepend(sp_node_t *, void *); | 15 | void sp_list_prepend(sp_node_t *, void *); |
