file reading
[taskasaur.git] / taskasaur.c
index 966907b..28c25a8 100644 (file)
@@ -6,6 +6,15 @@
 #include <ncurses.h>
 #include <menu.h>
 
+#define SELECTED_COLOR 1
+#define NON_SELECTED_COLOR 2
+
+struct todo_item {
+    char* name;
+    char* description;
+    char** items;
+};
+
 void winch_handler(int sig); 
 
 char** read_todo(FILE* file, int* length);
@@ -19,9 +28,6 @@ void free_todo(char** todo_list, int todo_length);
 
 #include "config.h"
 
-#define SELECTED_COLOR 1
-#define NON_SELECTED_COLOR 2
-
 int 
 main(int argc, char** argv) 
 {