10 #ifndef SION_SION_ENUMS_H 11 #define SION_SION_ENUMS_H 18 typedef enum { SION_LOWLEVEL_API_C, SION_LOWLEVEL_API_POSIX } sion_lowlevel_api;
20 typedef enum { SION_OPEN_READ, SION_OPEN_WRITE } sion_open_mode;
23 SION_KEYVAL_MODE_DEFAULT,
24 SION_KEYVAL_MODE_INLINE,
25 SION_KEYVAL_MODE_META,
26 SION_KEYVAL_MODE_HASH,
27 SION_KEYVAL_MODE_UNKNOWN,
sion_seek_mode
determines how offsets are interpreted for seek operations
interpret the offset relative to the current position in the file
interpret the offset relative to the end of the current chunk
interpret the offset relative to the beginning of the file
interpret the offset relative to the end of the file
interpret the offset relative to the beginning of the current chunk