diff options
Diffstat (limited to 'nerv/io/chunk_file.h')
-rw-r--r-- | nerv/io/chunk_file.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/nerv/io/chunk_file.h b/nerv/io/chunk_file.h index 9bae59d..71094a5 100644 --- a/nerv/io/chunk_file.h +++ b/nerv/io/chunk_file.h @@ -1,23 +1,10 @@ -#ifndef NERV_LAYER_FILE_H -#define NERV_LAYER_FILE_H +#ifndef NERV_LUA_CHUNK_FILE_H +#define NERV_LUA_CHUNK_FILE_H +#include "../lib/io/chunk_file.h" extern const char *nerv_chunk_file_tname; extern const char *nerv_chunk_file_handle_tname; extern const char *nerv_chunk_info_tname; extern const char *nerv_chunk_data_tname; -typedef struct ChunkFileHandle { - FILE *fp; - int closed; -} ChunkFileHandle; - -typedef struct ChunkInfo { - off_t offset, length; -} ChunkInfo; - -typedef struct ChunkData { - FILE *fp; - char *data; -} ChunkData; - #endif |