SIONlib  2.0.0-rc.1
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-2018 **
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 
18 typedef enum { SION_LOWLEVEL_API_C, SION_LOWLEVEL_API_POSIX } sion_lowlevel_api;
19 
20 typedef enum { SION_OPEN_READ, SION_OPEN_WRITE } sion_open_mode;
21 
22 typedef enum {
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,
28  SION_KEYVAL_MODE_NONE
29 } sion_keyval_mode;
30 
32 typedef enum {
44 
46 
47 #endif
sion_seek_mode
determines how offsets are interpreted for seek operations
Definition: sion_enums.h:32
interpret the offset relative to the current position in the file
Definition: sion_enums.h:36
interpret the offset relative to the end of the current chunk
Definition: sion_enums.h:42
interpret the offset relative to the beginning of the file
Definition: sion_enums.h:34
interpret the offset relative to the end of the file
Definition: sion_enums.h:38
interpret the offset relative to the beginning of the current chunk
Definition: sion_enums.h:40