summaryrefslogtreecommitdiff
path: root/io/param.h
blob: e5841b8155bb30b10a327fca5f60f5e3e31c93f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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