summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 24b6b21..71e5def 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,8 +1,18 @@
+#include <stdio.h>
+
#include "db.h"
#include "draw.h"
+#include "group.h"
int main() {
+ Group *groups;
+
db_init();
+ groups = db_load_groups();
+
+ // REMOVE debug
+ printf("%d\t%s\t%s\t%s\n", group_get_id(groups), group_get_name(groups), group_get_desc(groups), group_get_url(groups));
+
tui_init();
return 0;