00001
00002
00003
00004
00005
00006
00007
00008 #ifndef AD_PVFS_INCLUDE
00009 #define AD_PVFS_INCLUDE
00010
00011 #ifndef ROMIOCONF_H_INCLUDED
00012 #include "romioconf.h"
00013 #define ROMIOCONF_H_INCLUDED
00014 #endif
00015 #ifdef ROMIO_PVFS_NEEDS_INT64_DEFINITION
00016 typedef long long int int64_t;
00017 #endif
00018
00019 #include <unistd.h>
00020 #include <sys/types.h>
00021 #include <sys/uio.h>
00022 #include <fcntl.h>
00023 #ifdef HAVE_PVFS_H
00024 #include <pvfs.h>
00025 #endif
00026 #include "adio.h"
00027
00028 void ADIOI_PVFS_Open(ADIO_File fd, int *error_code);
00029 void ADIOI_PVFS_Close(ADIO_File fd, int *error_code);
00030 void ADIOI_PVFS_ReadContig(ADIO_File fd, void *buf, int count,
00031 MPI_Datatype datatype, int file_ptr_type,
00032 ADIO_Offset offset, ADIO_Status *status, int
00033 *error_code);
00034 void ADIOI_PVFS_WriteContig(ADIO_File fd, void *buf, int count,
00035 MPI_Datatype datatype, int file_ptr_type,
00036 ADIO_Offset offset, ADIO_Status *status, int
00037 *error_code);
00038 void ADIOI_PVFS_Fcntl(ADIO_File fd, int flag, ADIO_Fcntl_t *fcntl_struct, int
00039 *error_code);
00040 void ADIOI_PVFS_WriteStrided(ADIO_File fd, void *buf, int count,
00041 MPI_Datatype datatype, int file_ptr_type,
00042 ADIO_Offset offset, ADIO_Status *status, int
00043 *error_code);
00044 void ADIOI_PVFS_ReadStrided(ADIO_File fd, void *buf, int count,
00045 MPI_Datatype datatype, int file_ptr_type,
00046 ADIO_Offset offset, ADIO_Status *status, int
00047 *error_code);
00048 void ADIOI_PVFS_Flush(ADIO_File fd, int *error_code);
00049 void ADIOI_PVFS_Delete(char *filename, int *error_code);
00050 void ADIOI_PVFS_Resize(ADIO_File fd, ADIO_Offset size, int *error_code);
00051 void ADIOI_PVFS_SetInfo(ADIO_File fd, MPI_Info users_info, int *error_code);
00052
00053
00054 #endif