SIONlib
1.7.7
Scalable I/O library for parallel access to task-local files
|
#include "sion_datatypes.h"
Go to the source code of this file.
Data Structures | |
struct | _sion_flags_store_struct |
struct | _sion_flags_entry_struct |
Typedefs | |
typedef struct _sion_flags_store_struct | _sion_flags_store |
typedef struct _sion_flags_entry_struct | _sion_flags_entry |
Functions | |
void | _sion_flags_init_entry (_sion_flags_entry *entry) |
_sion_flags_entry * | _sion_flags_create_entry (void) |
Create a flags entry. More... | |
void | _sion_flags_destroy_entry (_sion_flags_entry **entry) |
_sion_flags_entry * | _sion_flags_iter (_sion_flags_store *store) |
void | _sion_flags_init_store (_sion_flags_store *store) |
_sion_flags_store * | _sion_flags_create_store (void) |
Create a flags entry. More... | |
void | _sion_flags_destroy_store (_sion_flags_store **store) |
_sion_flags_entry * | _sion_flags_add_entry (_sion_flags_entry *entry, const char *key, const char *val) |
Create a flags entry. More... | |
void | _sion_flags_add (_sion_flags_store *store, const char *key, const char *val) |
_sion_flags_entry * | _sion_flags_get (_sion_flags_store *store, const char *key) |
sion_int64 | _sion_flags_update_mask (_sion_flags_store *store) |
_sion_flags_store * | _sion_parse_flags (const char *flags) |
Parse flags and return a flags store with key value pairs. More... | |
Flags handling
Definition in file sion_flags.h.
_sion_flags_entry* _sion_flags_add_entry | ( | _sion_flags_entry * | entry, |
const char * | key, | ||
const char * | val | ||
) |
Create a flags entry.
Memory is deallocated in _sion_flags_destroy_entry.
[in,out] | entry | current flag entry to add key and value to |
[in] | key | key |
[in] | val | value |
Definition at line 156 of file sion_flags.c.
_sion_flags_entry* _sion_flags_create_entry | ( | void | ) |
Create a flags entry.
Use _sion_flags_destroy_entry to free the memory when not needed any longer.
Definition at line 49 of file sion_flags.c.
_sion_flags_store* _sion_flags_create_store | ( | void | ) |
Create a flags entry.
Use _sion_flags_destroy_store to free the memory when not needed any longer.
Definition at line 107 of file sion_flags.c.
_sion_flags_store* _sion_parse_flags | ( | const char * | flags | ) |
Parse flags and return a flags store with key value pairs.
[in] | flags | string containing the open flags |
Definition at line 326 of file sion_flags.c.