pinosaur
/
taskasaur.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
working on popup
[taskasaur.git]
/
headers
/
parser.h
diff --git
a/headers/parser.h
b/headers/parser.h
index
41520b7
..
1bf2ae3
100644
(file)
--- a/
headers/parser.h
+++ b/
headers/parser.h
@@
-8,6
+8,10
@@
#include <assert.h>
#include <md4c.h>
#include <assert.h>
#include <md4c.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef enum SubTaskState {
SubTaskState_todo,
SubTaskState_done
typedef enum SubTaskState {
SubTaskState_todo,
SubTaskState_done
@@
-39,7
+43,12
@@
typedef struct Board {
} Board;
extern Board* begin_parse(char* board_path);
} Board;
extern Board* begin_parse(char* board_path);
-
+extern int begin_write(char* board_path, Board* board);
extern void log_todo(Board* board);
extern void log_todo(Board* board);
+extern int free_board(Board* board);
+
+#ifdef __cplusplus
+}
+#endif
#endif
#endif