aboutsummaryrefslogtreecommitdiff
path: root/io/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'io/param.h')
-rw-r--r--io/param.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/io/param.h b/io/param.h
new file mode 100644
index 0000000..e5841b8
--- /dev/null
+++ b/io/param.h
@@ -0,0 +1,22 @@
+#ifndef NERV_LAYER_FILE_H
+#define NERV_LAYER_FILE_H
+
+extern const char *nerv_param_file_tname;
+extern const char *nerv_param_file_handle_tname;
+extern const char *nerv_param_chunk_info_tname;
+extern const char *nerv_param_chunk_data_tname;
+
+typedef struct ParamFileHandle {
+ FILE *fp;
+} ParamFileHandle;
+
+typedef struct ParamChunkInfo {
+ off_t offset, length;
+} ParamChunkInfo;
+
+typedef struct ParamChunkData {
+ FILE *fp;
+ char *data;
+} ParamChunkData;
+
+#endif