aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-12-22 12:19:51 -0500
committerDrew DeVault <sir@cmpwn.com>2015-12-22 12:19:51 -0500
commit27848b41ab9552b7894bdd32c3cdaa490a864446 (patch)
treec4d102502cdf6cbab906acf1535f341ec188202b /include
parent8a22ac3966047353daffe88dd4b8c2910ef519f5 (diff)
parent8fefdb3c64d53a16bd400f97252c6887f5940af0 (diff)
downloadsway-27848b41ab9552b7894bdd32c3cdaa490a864446.tar.xz
Merge pull request #394 from progandy/i3bar-json-protocol
swaybar: I3bar json protocol
Diffstat (limited to 'include')
-rw-r--r--include/list.h1
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 {
list_t *create_list(void);
void list_free(list_t *list);
+void list_foreach(list_t *list, void (*callback)(void* item));
void list_add(list_t *list, void *item);
void list_insert(list_t *list, int index, void *item);
void list_del(list_t *list, int index);