SIONlib  1.7.7
Scalable I/O library for parallel access to task-local files
Data Structures | Macros | Typedefs | Functions
sion_generic_apidesc.h File Reference
#include "sion_const.h"
#include "sion_datatypes.h"
Include dependency graph for sion_generic_apidesc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _sion_generic_apidesc_struct
 
struct  _sion_generic_gendata_struct
 

Macros

#define SION_GENERIC_API_LEVEL_NONE   70
 
#define SION_GENERIC_API_LEVEL_STD   71
 
#define SION_GENERIC_API_LEVEL_FULL   72
 

Typedefs

typedef struct _sion_generic_apidesc_struct _sion_generic_apidesc
 
typedef struct _sion_generic_gendata_struct _sion_generic_gendata
 

Functions

_sion_generic_apidesc_sion_generic_alloc_apidesc (void)
 Allocates memory for internal sion api desc structure. More...
 
int _sion_generic_init_apidesc (_sion_generic_apidesc *sion_apidesc)
 Initialize the sion api description. More...
 
int _sion_generic_free_apidesc (_sion_generic_apidesc *sion_apidesc)
 free apidesc structure More...
 
_sion_generic_gendata_sion_generic_alloc_gendata (void)
 Allocates memory for internal sion api data structure needed for each SION file. More...
 
int _sion_generic_init_gendata (_sion_generic_gendata *sion_gendata)
 Initialize the sion file description. More...
 
int _sion_generic_free_gendata (_sion_generic_gendata *sion_gendata)
 Free sion gendata description. More...
 
int _sion_generic_update_api_level (_sion_generic_apidesc *sion_gendata)
 Update API level. More...
 

Function Documentation

◆ _sion_generic_alloc_apidesc()

_sion_generic_apidesc* _sion_generic_alloc_apidesc ( void  )

Allocates memory for internal sion api desc structure.

Return values
pointerto a new _sion_generic_apidesc structure

Definition at line 31 of file sion_generic_apidesc.c.

◆ _sion_generic_alloc_gendata()

_sion_generic_gendata* _sion_generic_alloc_gendata ( void  )

Allocates memory for internal sion api data structure needed for each SION file.

Return values
pointerto a new _sion_generic_gendata structure

Definition at line 104 of file sion_generic_apidesc.c.

◆ _sion_generic_free_apidesc()

int _sion_generic_free_apidesc ( _sion_generic_apidesc sion_apidesc)

free apidesc structure

Parameters
sion_apidescsion API description
Return values
SION_SUCCESSif OK

Definition at line 82 of file sion_generic_apidesc.c.

◆ _sion_generic_free_gendata()

int _sion_generic_free_gendata ( _sion_generic_gendata sion_gendata)

Free sion gendata description.

Parameters
*sion_gendatasion gendata description struct
Return values
SION_SUCCESSif OK

Definition at line 145 of file sion_generic_apidesc.c.

◆ _sion_generic_init_apidesc()

int _sion_generic_init_apidesc ( _sion_generic_apidesc sion_apidesc)

Initialize the sion api description.

Parameters
sion_apidescsion API description
Return values
SION_SUCCESSif OK

Definition at line 49 of file sion_generic_apidesc.c.

◆ _sion_generic_init_gendata()

int _sion_generic_init_gendata ( _sion_generic_gendata sion_gendata)

Initialize the sion file description.

Parameters
*sion_gendatasion gendata description struct
Return values
SION_SUCCESSif OK

Definition at line 122 of file sion_generic_apidesc.c.

◆ _sion_generic_update_api_level()

int _sion_generic_update_api_level ( _sion_generic_apidesc sion_apidesc)

Update API level.

Parameters
[in,out]sion_apidescsion gendata description struct
Return values
SION_SUCCESSif OK

Definition at line 166 of file sion_generic_apidesc.c.