Go to the documentation of this file. 1 #ifndef __XRDPOSIXEXTERN_H__
2 #define __XRDPOSIXEXTERN_H__
34 #if (!defined(_LARGEFILE_SOURCE) || !defined(_LARGEFILE64_SOURCE) || \
35 _FILE_OFFSET_BITS!=64) && !defined(XRDPOSIXPRELOAD32)
36 #error Compilation options are incompatible with XrdPosixExtern.hh; \
37 Specify -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
56 #include <sys/types.h>
66 extern int XrdPosix_Acl(
const char *path,
int cmd,
int nentries,
86 extern long long XrdPosix_Fgetxattr (
int fd,
const char *name,
87 void *value,
unsigned long long size);
101 extern int XrdPosix_FstatV(
int ver,
int fildes,
struct stat *buf);
115 extern long long XrdPosix_Getxattr (
const char *path,
const char *name,
116 void *value,
unsigned long long size);
118 extern long long XrdPosix_Lgetxattr(
const char *path,
const char *name,
119 void *value,
unsigned long long size);
122 extern long long XrdPosix_Lseek(
int fildes,
long long offset,
int whence);
134 extern long long XrdPosix_Pread(
int fildes,
void *buf,
unsigned long long nbyte,
137 extern long long XrdPosix_Read(
int fildes,
void *buf,
unsigned long long nbyte);
139 extern long long XrdPosix_Readv(
int fildes,
const struct iovec *iov,
int iovcnt);
144 extern int XrdPosix_Readdir_r (DIR *dirp,
struct dirent *entry,
struct dirent **result);
157 #if !defined(__solaris__)
164 unsigned long long nbyte,
long long offset);
173 unsigned long long nbyte);
175 extern long long XrdPosix_Writev(
int fildes,
const struct iovec *iov,
int iovcnt);
185 extern char *
XrdPosix_URL(
const char *path,
char *buff,
int blen);