From 542ef0c77700e67a95fcd08b5f305d1ab42046e1 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 4 Aug 2015 21:30:40 -0400 Subject: Pull in some scas code and read i3 config file --- sway/list.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sway/list.h (limited to 'sway/list.h') diff --git a/sway/list.h b/sway/list.h new file mode 100644 index 00000000..2f60b0df --- /dev/null +++ b/sway/list.h @@ -0,0 +1,16 @@ +#ifndef _SWAY_LIST_H +#define _SWAY_LIST_H + +typedef struct { + int capacity; + int length; + void **items; +} list_t; + +list_t *create_list(); +void list_free(list_t *list); +void list_add(list_t *list, void *item); +void list_del(list_t *list, int index); +void list_cat(list_t *list, list_t *source); + +#endif -- cgit v1.2.3-54-g00ecf