00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef AD_PIOFS_INCLUDE
00012 #define AD_PIOFS_INCLUDE
00013
00014 #include <unistd.h>
00015 #include <sys/uio.h>
00016 #include <sys/types.h>
00017 #include <fcntl.h>
00018 #include <piofs/piofs_ioctl.h>
00019 #include "adio.h"
00020
00021 void ADIOI_PIOFS_Open(ADIO_File fd, int *error_code);
00022 void ADIOI_PIOFS_ReadContig(ADIO_File fd, void *buf, int count,
00023 MPI_Datatype datatype, int file_ptr_type,
00024 ADIO_Offset offset, ADIO_Status *status, int
00025 *error_code);
00026 void ADIOI_PIOFS_WriteContig(ADIO_File fd, void *buf, int count,
00027 MPI_Datatype datatype, int file_ptr_type,
00028 ADIO_Offset offset, ADIO_Status *status, int
00029 *error_code);
00030 void ADIOI_PIOFS_Fcntl(ADIO_File fd, int flag, ADIO_Fcntl_t *fcntl_struct, int
00031 *error_code);
00032 void ADIOI_PIOFS_WriteStrided(ADIO_File fd, void *buf, int count,
00033 MPI_Datatype datatype, int file_ptr_type,
00034 ADIO_Offset offset, ADIO_Status *status, int
00035 *error_code);
00036 void ADIOI_PIOFS_SetInfo(ADIO_File fd, MPI_Info users_info, int *error_code);
00037
00038 void ADIOI_PIOFS_Feature(ADIO_File fd, int flag);
00039
00040 #endif