summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-01-18 19:09:16 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-01-18 19:09:16 +0100
commit0d49fb74eadcf933f696420cd182077927680d26 (patch)
tree9220d260ce878f369138da12dae0300cf9ade5c9 /src/file/data_input.h
parent24afb3e60bafd98e6a83dcb41ee6a7f7d41e76bc (diff)
Done with 'core', starting to work on 'knowledge'.
Diffstat (limited to 'src/file/data_input.h')
-rw-r--r--src/file/data_input.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/file/data_input.h b/src/file/data_input.h
new file mode 100644
index 0000000..a2f004b
--- /dev/null
+++ b/src/file/data_input.h
@@ -0,0 +1,21 @@
+#ifndef _ZoO_IO_DATA_INPUT_H_
+#define _ZoO_IO_DATA_INPUT_H_
+
+#include "data_input_types.h"
+
+int ZoO_data_input_open
+(
+ struct ZoO_data_input di [const static 1],
+ const char filename [const restrict static 1]
+);
+
+int ZoO_data_input_read_line
+(
+ struct ZoO_data_input di [const static 1],
+ ZoO_index const punctuations_count,
+ const ZoO_char punctuations [const restrict static punctuations_count]
+);
+
+void ZoO_data_input_close (struct ZoO_data_input di [const static 1]);
+
+#endif