+#ifndef __PARSER_H__
+#define __PARSER_H__
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <md4c.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef enum SubTaskState {
SubTaskState_todo,
SubTaskState_done
} Board;
extern Board* begin_parse(char* board_path);
-
+extern int begin_write(char* board_path, Board* board);
extern void log_todo(Board* board);
+extern int free_board(Board* board);
+
+#ifdef __cplusplus
+}
+#endif
+#endif