aboutsummaryrefslogtreecommitdiff
path: root/io/chunk_file.h
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-06-05 16:56:33 +0800
committerDeterminant <[email protected]>2015-06-05 16:56:33 +0800
commiteba6049a82455499c68ee875843b6f44d6164fa5 (patch)
tree318485b878b80bf1ebfe5bcea4eecf014561f97e /io/chunk_file.h
parentb6b85c02db6a44c17957d7b59cf68494da822a0b (diff)
add close method for ChunkFile, fix #18
Diffstat (limited to 'io/chunk_file.h')
-rw-r--r--io/chunk_file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/io/chunk_file.h b/io/chunk_file.h
index 9ece117..9bae59d 100644
--- a/io/chunk_file.h
+++ b/io/chunk_file.h
@@ -8,6 +8,7 @@ extern const char *nerv_chunk_data_tname;
typedef struct ChunkFileHandle {
FILE *fp;
+ int closed;
} ChunkFileHandle;
typedef struct ChunkInfo {