SIONlib  2.0.0-rc.3
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-2021 **
5 ** Forschungszentrum Juelich, Juelich Supercomputing Centre **
6 ** **
7 ** Copyright (c) 2019 **
8 ** DataDirect Networks **
9 ** **
10 ** See the file COPYRIGHT in the package base directory for details **
11 ****************************************************************************/
12 
13 #ifndef SION_SION_ENUMS_H
14 #define SION_SION_ENUMS_H
15 
16 #include "sion_config.h"
17 
22 
29 typedef enum {
34 #ifdef _SION_SIONFWD
36  SION_LOWLEVEL_API_SIONFWD = 3,
37 #endif
38 #ifdef _SION_IME_NATIVE
40  SION_LOWLEVEL_API_IME_NATIVE = 4,
41 #endif
43 
45 typedef enum {
51 
53 typedef enum {
65 
67 typedef enum {
79 
81 typedef enum {
89 
91 
92 #endif
sion_open_mode
specifies for what type of access to open a file
Definition: sion_enums.h:45
sion_lowlevel_api
specifies a low-level API to use for file system access
Definition: sion_enums.h:29
sion_endianness
declares the endianness of user data written to a file
Definition: sion_enums.h:81
sion_seek_mode
determines how offsets are interpreted for seek operations
Definition: sion_enums.h:67
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:53
@ SION_OPEN_WRITE
open the file for writing only
Definition: sion_enums.h:49
@ SION_OPEN_READ
open the file for reading only
Definition: sion_enums.h:47
@ SION_LOWLEVEL_API_POSIX
the POSIX I/O API (open(), read(), write(), close(), etc.)
Definition: sion_enums.h:33
@ SION_LOWLEVEL_API_C
the C standard library I/O API (fopen(), fread(), fwrite(), fclose(), etc.)
Definition: sion_enums.h:31
@ SION_ENDIANNESS_HOST
the user data has the endianness of the host system
Definition: sion_enums.h:87
@ SION_ENDIANNESS_BIG
the user data is big endian
Definition: sion_enums.h:85
@ SION_ENDIANNESS_LITTLE
the user data is little endian
Definition: sion_enums.h:83
@ SION_SEEK_CHUNK_END
interpret the offset relative to the end of the current chunk
Definition: sion_enums.h:77
@ SION_SEEK_END
interpret the offset relative to the end of the file
Definition: sion_enums.h:73
@ SION_SEEK_CURRENT
interpret the offset relative to the current position in the file
Definition: sion_enums.h:71
@ SION_SEEK_BEGINNING
interpret the offset relative to the beginning of the file
Definition: sion_enums.h:69
@ SION_SEEK_CHUNK_BEGINNING
interpret the offset relative to the beginning of the current chunk
Definition: sion_enums.h:75
@ SION_KEYVAL_MODE_UNKNOWN
when reading a file, learn appropriate mechanism from file header
Definition: sion_enums.h:61
@ SION_KEYVAL_MODE_META
not implemented
Definition: sion_enums.h:57
@ SION_KEYVAL_MODE_NONE
do not use key-value mechanism
Definition: sion_enums.h:63
@ SION_KEYVAL_MODE_HASH
not implemented
Definition: sion_enums.h:59
@ SION_KEYVAL_MODE_INLINE
key-value mechanism with inline storage of meta-data
Definition: sion_enums.h:55