diff options
author | 2015-12-22 12:19:51 -0500 | |
---|---|---|
committer | 2015-12-22 12:19:51 -0500 | |
commit | 27848b41ab9552b7894bdd32c3cdaa490a864446 (patch) | |
tree | c4d102502cdf6cbab906acf1535f341ec188202b /include/list.h | |
parent | Initialize id, part two (diff) | |
parent | swaybar: fix memory leaks (diff) | |
download | sway-27848b41ab9552b7894bdd32c3cdaa490a864446.tar.gz sway-27848b41ab9552b7894bdd32c3cdaa490a864446.tar.zst sway-27848b41ab9552b7894bdd32c3cdaa490a864446.zip |
Merge pull request #394 from progandy/i3bar-json-protocol
swaybar: I3bar json protocol
Diffstat (limited to 'include/list.h')
-rw-r--r-- | include/list.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/list.h b/include/list.h index d18d3f54..b2e26f95 100644 --- a/include/list.h +++ b/include/list.h | |||
@@ -9,6 +9,7 @@ typedef struct { | |||
9 | 9 | ||
10 | list_t *create_list(void); | 10 | list_t *create_list(void); |
11 | void list_free(list_t *list); | 11 | void list_free(list_t *list); |
12 | void list_foreach(list_t *list, void (*callback)(void* item)); | ||
12 | void list_add(list_t *list, void *item); | 13 | void list_add(list_t *list, void *item); |
13 | void list_insert(list_t *list, int index, void *item); | 14 | void list_insert(list_t *list, int index, void *item); |
14 | void list_del(list_t *list, int index); | 15 | void list_del(list_t *list, int index); |