aboutsummaryrefslogtreecommitdiff
path: root/later.h
diff options
context:
space:
mode:
Diffstat (limited to 'later.h')
-rw-r--r--later.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/later.h b/later.h
index 875b81c..6fd665d 100644
--- a/later.h
+++ b/later.h
@@ -1,6 +1,8 @@
#ifndef __LATER_H__
#define __LATER_H__
+#include <stdbool.h>
+
typedef struct LaterItem LaterItem_t;
struct LaterItem {
@@ -9,4 +11,16 @@ struct LaterItem {
char* command;
};
+typedef struct LaterFile LaterFile_t;
+
+struct LaterFile {
+ char* filename;
+ FILE* file;
+ LaterItem_t** items;
+ int size;
+ int capacity;
+ bool loaded;
+ bool modified;
+};
+
#endif