00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef AD_NFS_INCLUDE
00010 #define AD_NFS_INCLUDE
00011
00012 #include <unistd.h>
00013 #include <sys/types.h>
00014 #include <fcntl.h>
00015 #include "adio.h"
00016
00017 #ifndef NO_AIO
00018 #ifdef AIO_SUN
00019 #include <sys/asynch.h>
00020 #else
00021 #include <aio.h>
00022 #ifdef NEEDS_ADIOCB_T
00023 typedef struct adiocb adiocb_t;
00024 #endif
00025 #endif
00026 #endif
00027
00028 int ADIOI_NFS_aio(ADIO_File fd, void *buf, int len, ADIO_Offset offset,
00029 int wr, void *handle);
00030
00031 #ifdef SX4
00032 #define lseek llseek
00033 #endif
00034
00035 #endif