10 #ifndef SION_SION_ENUMS_H 11 #define SION_SION_ENUMS_H sion_lowlevel_api
specifies a low-level API to use for file system access
sion_seek_mode
determines how offsets are interpreted for seek operations
the POSIX I/O API (open(), read(), write(), close(), etc.)
the user data is little endian
the user data is big endian
interpret the offset relative to the current position in the file
the C standard library I/O API (fopen(), fread(), fwrite(), fclose(), etc.)
key-value mechanism with inline storage of meta-data
interpret the offset relative to the end of the current chunk
interpret the offset relative to the end of the file
do not use key-value mechanism
interpret the offset relative to the beginning of the file
open the file for reading only
sion_keyval_mode
specifies whether to use SIONlib's key-value mechanism for accessing file content and if so in what m...
the user data has the endianness of the host system
sion_endianness
declares the endianness of user data written to a file
sion_open_mode
specifies for what type of access to open a file
interpret the offset relative to the beginning of the current chunk
open the file for writing only
when reading a file, learn appropriate mechanism from file header