1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 #ifndef AD_ZOIDFS_INCLUDE
   9 #define AD_ZOIDFS_INCLUDE
  10 
  11 #include "adio.h"
  12 #ifdef HAVE_ZOIDFS_H
  13 #include "zoidfs.h"
  14 #endif
  15 
  16 
  17 typedef zoidfs_handle_t ADIOI_ZOIDFS_object;
  18 
  19 void ADIOI_ZOIDFS_Open(ADIO_File fd, int *error_code);
  20 void ADIOI_ZOIDFS_Close(ADIO_File fd, int *error_code);
  21 void ADIOI_ZOIDFS_ReadContig(ADIO_File fd, void *buf, int count, 
  22                       MPI_Datatype datatype, int file_ptr_type,
  23                      ADIO_Offset offset, ADIO_Status *status, int
  24                      *error_code);
  25 void ADIOI_ZOIDFS_WriteContig(ADIO_File fd, void *buf, int count, 
  26                       MPI_Datatype datatype, int file_ptr_type,
  27                       ADIO_Offset offset, ADIO_Status *status, int
  28                       *error_code);   
  29 void ADIOI_ZOIDFS_Fcntl(ADIO_File fd, int flag, ADIO_Fcntl_t *fcntl_struct, int
  30                 *error_code); 
  31 void ADIOI_ZOIDFS_WriteStrided(ADIO_File fd, void *buf, int count,
  32                        MPI_Datatype datatype, int file_ptr_type,
  33                        ADIO_Offset offset, ADIO_Status *status, int
  34                        *error_code);
  35 void ADIOI_ZOIDFS_ReadStrided(ADIO_File fd, void *buf, int count,
  36                        MPI_Datatype datatype, int file_ptr_type,
  37                        ADIO_Offset offset, ADIO_Status *status, int
  38                        *error_code);
  39 void ADIOI_ZOIDFS_Flush(ADIO_File fd, int *error_code);
  40 void ADIOI_ZOIDFS_Delete(char *filename, int *error_code);
  41 void ADIOI_ZOIDFS_Resize(ADIO_File fd, ADIO_Offset size, int *error_code);
  42 void ADIOI_ZOIDFS_SetInfo(ADIO_File fd, MPI_Info users_info, int *error_code);
  43 int  ADIOI_ZOIDFS_Feature(ADIO_File fd, int flag);
  44 #endif