1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 
  11 #ifndef AD_PIOFS_INCLUDE
  12 #define AD_PIOFS_INCLUDE
  13 
  14 #include <unistd.h>
  15 #include <sys/uio.h>
  16 #include <sys/types.h>
  17 #include <fcntl.h>
  18 #include <piofs/piofs_ioctl.h>
  19 #include "adio.h"
  20 
  21 void ADIOI_PIOFS_Open(ADIO_File fd, int *error_code);
  22 void ADIOI_PIOFS_ReadContig(ADIO_File fd, void *buf, int count, 
  23                       MPI_Datatype datatype, int file_ptr_type,
  24                      ADIO_Offset offset, ADIO_Status *status, int
  25                      *error_code);
  26 void ADIOI_PIOFS_WriteContig(ADIO_File fd, void *buf, int count, 
  27                       MPI_Datatype datatype, int file_ptr_type,
  28                       ADIO_Offset offset, ADIO_Status *status, int
  29                       *error_code);   
  30 void ADIOI_PIOFS_Fcntl(ADIO_File fd, int flag, ADIO_Fcntl_t *fcntl_struct, int
  31                 *error_code); 
  32 void ADIOI_PIOFS_WriteStrided(ADIO_File fd, void *buf, int count,
  33                        MPI_Datatype datatype, int file_ptr_type,
  34                        ADIO_Offset offset, ADIO_Status *status, int
  35                        *error_code);
  36 void ADIOI_PIOFS_SetInfo(ADIO_File fd, MPI_Info users_info, int *error_code);
  37 
  38 void ADIOI_PIOFS_Feature(ADIO_File fd, int flag);
  39 
  40 #endif