SIONlib  2.0.0-rc.2
Scalable I/O library for parallel access to task-local files
sion_enums.h
1 /****************************************************************************
2 ** SIONLIB http://www.fz-juelich.de/jsc/sionlib **
3 *****************************************************************************
4 ** Copyright (c) 2008-2019 **
5 ** Forschungszentrum Juelich, Juelich Supercomputing Centre **
6 ** **
7 ** See the file COPYRIGHT in the package base directory for details **
8 ****************************************************************************/
9 
10 #ifndef SION_SION_ENUMS_H
11 #define SION_SION_ENUMS_H
12 
17 
19 typedef enum {
25 
27 typedef enum {
33 
35 typedef enum {
47 
49 typedef enum {
61 
63 typedef enum {
71 
73 
74 #endif
sion_lowlevel_api
specifies a low-level API to use for file system access
Definition: sion_enums.h:19
sion_seek_mode
determines how offsets are interpreted for seek operations
Definition: sion_enums.h:49
not implemented
Definition: sion_enums.h:41
the POSIX I/O API (open(), read(), write(), close(), etc.)
Definition: sion_enums.h:23
the user data is little endian
Definition: sion_enums.h:65
the user data is big endian
Definition: sion_enums.h:67
interpret the offset relative to the current position in the file
Definition: sion_enums.h:53
the C standard library I/O API (fopen(), fread(), fwrite(), fclose(), etc.)
Definition: sion_enums.h:21
key-value mechanism with inline storage of meta-data
Definition: sion_enums.h:37
interpret the offset relative to the end of the current chunk
Definition: sion_enums.h:59
interpret the offset relative to the end of the file
Definition: sion_enums.h:55
do not use key-value mechanism
Definition: sion_enums.h:45
interpret the offset relative to the beginning of the file
Definition: sion_enums.h:51
open the file for reading only
Definition: sion_enums.h:29
sion_keyval_mode
specifies whether to use SIONlib's key-value mechanism for accessing file content and if so in what m...
Definition: sion_enums.h:35
the user data has the endianness of the host system
Definition: sion_enums.h:69
sion_endianness
declares the endianness of user data written to a file
Definition: sion_enums.h:63
sion_open_mode
specifies for what type of access to open a file
Definition: sion_enums.h:27
interpret the offset relative to the beginning of the current chunk
Definition: sion_enums.h:57
open the file for writing only
Definition: sion_enums.h:31
not implemented
Definition: sion_enums.h:39
when reading a file, learn appropriate mechanism from file header
Definition: sion_enums.h:43