00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef AD_NTFS_INCLUDE
00010 #define AD_NTFS_INCLUDE
00011
00012 #include <sys/types.h>
00013 #include <fcntl.h>
00014 #include "adio.h"
00015
00016 #ifdef HAVE_INT64
00017 #define DWORDLOW(x) ( (DWORD) ( x & (__int64) 0xFFFFFFFF ) )
00018 #define DWORDHIGH(x) ( (DWORD) ( (x >> 32) & (__int64) 0xFFFFFFFF ) )
00019 #define DWORDTOINT64(x,y) ( (__int64) ( ( (__int64 x) << 32 ) + (__int64) y ) )
00020 #else
00021 #define DWORDLOW(x) x
00022 #define DWORDHIGH(x) 0
00023 #define DWORDTOINT64(x,y) x
00024 #endif
00025
00026 int ADIOI_NTFS_aio(ADIO_File fd, void *buf, int len, ADIO_Offset offset,
00027 int wr, void *handle);
00028
00029 #endif