Go to the documentation of this file. 1 #ifndef __XRDPOSIXEXTERN_H__
2 #define __XRDPOSIXEXTERN_H__
52 #if (!defined(_LARGEFILE_SOURCE) || !defined(_LARGEFILE64_SOURCE) || \
53 _FILE_OFFSET_BITS!=64) && !defined(XRDPOSIXPRELOAD32)
54 #error Compilation options are incompatible with XrdPosixExtern.hh; \
55 Specify -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
74 #include <sys/types.h>
84 extern int XrdPosix_Acl(
const char *path,
int cmd,
int nentries,
104 extern long long XrdPosix_Fgetxattr (
int fd,
const char *name,
105 void *value,
unsigned long long size);
119 extern int XrdPosix_FstatV(
int ver,
int fildes,
struct stat *buf);
133 extern long long XrdPosix_Getxattr (
const char *path,
const char *name,
134 void *value,
unsigned long long size);
136 extern long long XrdPosix_Lgetxattr(
const char *path,
const char *name,
137 void *value,
unsigned long long size);
140 extern long long XrdPosix_Lseek(
int fildes,
long long offset,
int whence);
152 extern long long XrdPosix_Pread(
int fildes,
void *buf,
unsigned long long nbyte,
155 extern long long XrdPosix_Read(
int fildes,
void *buf,
unsigned long long nbyte);
157 extern long long XrdPosix_Readv(
int fildes,
const struct iovec *iov,
int iovcnt);
162 extern int XrdPosix_Readdir_r (DIR *dirp,
struct dirent *entry,
struct dirent **result);
175 #if !defined(__solaris__)
182 unsigned long long nbyte,
long long offset);
191 unsigned long long nbyte);
193 extern long long XrdPosix_Writev(
int fildes,
const struct iovec *iov,
int iovcnt);
203 extern char *
XrdPosix_URL(
const char *path,
char *buff,
int blen);