blob: 9bae59d436dd7515b0efd886be93aeb405be9c32 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef NERV_LAYER_FILE_H
#define NERV_LAYER_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
|