00001
00002
00003
00004
00005
00006
00007
00008 #ifndef AD_PVFS2_INCLUDE
00009 #define AD_PVFS2_INCLUDE
00010
00011 #include "adio.h"
00012 #ifdef HAVE_PVFS2_H
00013 #include "pvfs2.h"
00014 #endif
00015
00016 #ifdef PVFS2_VERSION_MAJOR
00017 #include "pvfs2-compat.h"
00018 #endif
00019
00020 void ADIOI_PVFS2_Open(ADIO_File fd, int *error_code);
00021 void ADIOI_PVFS2_Close(ADIO_File fd, int *error_code);
00022 void ADIOI_PVFS2_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_PVFS2_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_PVFS2_Fcntl(ADIO_File fd, int flag, ADIO_Fcntl_t *fcntl_struct, int
00031 *error_code);
00032 void ADIOI_PVFS2_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_PVFS2_ReadStrided(ADIO_File fd, void *buf, int count,
00037 MPI_Datatype datatype, int file_ptr_type,
00038 ADIO_Offset offset, ADIO_Status *status, int
00039 *error_code);
00040 void ADIOI_PVFS2_Flush(ADIO_File fd, int *error_code);
00041 void ADIOI_PVFS2_Delete(char *filename, int *error_code);
00042 void ADIOI_PVFS2_Resize(ADIO_File fd, ADIO_Offset size, int *error_code);
00043 void ADIOI_PVFS2_SetInfo(ADIO_File fd, MPI_Info users_info, int *error_code);
00044 int ADIOI_PVFS2_Feature(ADIO_File fd, int flag);
00045
00046 void ADIOI_PVFS2_IReadContig(ADIO_File fd, void *buf, int count,
00047 MPI_Datatype datatype, int file_ptr_type,
00048 ADIO_Offset offset, MPI_Request *request,
00049 int *error_code);
00050 void ADIOI_PVFS2_IWriteContig(ADIO_File fd, void *buf, int count,
00051 MPI_Datatype datatype, int file_ptr_type,
00052 ADIO_Offset offset, MPI_Request *request,
00053 int *error_code);
00054 void ADIOI_PVFS2_AIO_contig(ADIO_File fd, void *buf, int count,
00055 MPI_Datatype datatype, int file_ptr_type,
00056 ADIO_Offset offset, MPI_Request *request,
00057 int flag, int *error_code);
00058 void ADIOI_PVFS2_OldWriteStrided(ADIO_File fd, void *buf, int count,
00059 MPI_Datatype datatype, int file_ptr_type,
00060 ADIO_Offset offset, ADIO_Status *status, int
00061 *error_code);
00062 void ADIOI_PVFS2_OldReadStrided(ADIO_File fd, void *buf, int count,
00063 MPI_Datatype datatype, int file_ptr_type,
00064 ADIO_Offset offset, ADIO_Status *status, int
00065 *error_code);
00066 #endif