/****************************************************************************
**  SIONLIB     http://www.fz-juelich.de/jsc/sionlib                       **
*****************************************************************************
**  Copyright (c) 2008-2015                                                **
**  Forschungszentrum Juelich, Juelich Supercomputing Centre               **
**                                                                         **
**  See the file COPYRIGHT in the package base directory for details       **
****************************************************************************/
#ifndef SION_SION_OMP_H
#define SION_SION_OMP_H

/* SIONlib defines functions using FILE* parameter */
#include <stdio.h>

/* ************************** */
/* Parallel Interface OpenMP  */
/* ************************** */

#ifdef __cplusplus
extern "C" {
#endif
int lsion_paropen_omp(    const char    *fname,
			 const char    *file_mode,
			 sion_int64    *chunksize,
			 sion_int32    *fsblksize,
			 int           *globalrank,
			 FILE         **fileptr,
			 char         **newfname);

int lsion_parclose_omp(   int      sid  );
#ifdef __cplusplus
}
#endif

#endif
