Add keybind.c

This commit is contained in:
Johan Malm 2020-06-16 07:21:53 +01:00
parent 5bd55570ba
commit 40f01ed3c9
10 changed files with 114 additions and 11 deletions

View file

@ -8,6 +8,7 @@
#include <libxml/tree.h>
#include <unistd.h>
#include <fcntl.h>
#include <wayland-server-core.h>
#include "rcxml.h"
@ -162,9 +163,12 @@ void rcxml_parse_xml(struct buf *b)
xmlCleanupParser();
}
void rcxml_init(struct rcxml *rc)
void rcxml_init()
{
LIBXML_TEST_VERSION
wl_list_init(&rc.keybinds);
keybind_init();
keybind_print();
}
void rcxml_read(const char *filename)