SIONlib  1.7.7
Scalable I/O library for parallel access to task-local files
Macros | Functions
sion_generic_apidesc.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include "sion.h"
#include "sion_internal.h"
#include "sion_debug.h"
#include "sion_error_handler.h"
#include "sion_generic_apidesc.h"
Include dependency graph for sion_generic_apidesc.c:

Go to the source code of this file.

Macros

#define _XOPEN_SOURCE   700
 

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_apidesc)
 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.