25 #include "XrdVersion.hh"
38 const char *config_fn,
48 }
catch (std::exception &e) {
49 XrdCephXattrEroute.
Say(
"CephXattr loading failed with exception. Check the syntax of parameters : ", parms);
63 }
catch (std::exception &e) {
74 const char *
Path,
int fd) {
80 }
catch (std::exception &e) {
93 }
catch (std::exception &e) {
101 const char *
Path,
int fd,
int isNew) {
107 }
catch (std::exception &e) {
ssize_t ceph_posix_getxattr(XrdOucEnv *env, const char *path, const char *name, void *value, size_t size)
int ceph_posix_listxattrs(XrdOucEnv *env, const char *path, XrdSysXAttr::AList **aPL, int getSz)
void ceph_posix_set_defaults(const char *value)
int ceph_posix_fsetxattr(int fd, const char *name, const void *value, size_t size, int flags)
int ceph_posix_removexattr(XrdOucEnv *env, const char *path, const char *name)
ssize_t ceph_posix_setxattr(XrdOucEnv *env, const char *path, const char *name, const void *value, size_t size, int flags)
int ceph_posix_flistxattrs(int fd, XrdSysXAttr::AList **aPL, int getSz)
ssize_t ceph_posix_fgetxattr(int fd, const char *name, void *value, size_t size)
void ceph_posix_freexattrlist(XrdSysXAttr::AList *aPL)
XrdSysError XrdCephXattrEroute(0)
XrdVERSIONINFO(XrdSysGetXAttrObject, XrdCephXAttr)
XrdSysXAttr * XrdSysGetXAttrObject(XrdSysError *errP, const char *config_fn, const char *parms)
virtual int Set(const char *Aname, const void *Aval, int Avsz, const char *Path, int fd=-1, int isNew=0)
virtual int List(AList **aPL, const char *Path, int fd=-1, int getSz=0)
virtual void Free(AList *aPL)
virtual ~XrdCephXAttr()
Destructor.
virtual int Del(const char *Aname, const char *Path, int fd=-1)
virtual int Get(const char *Aname, void *Aval, int Avsz, const char *Path, int fd=-1)
XrdCephXAttr()
Constructor.
void Say(const char *text1, const char *text2=0, const char *txt3=0, const char *text4=0, const char *text5=0, const char *txt6=0)
XrdSysLogger * logger(XrdSysLogger *lp=0)
const char * SetPrefix(const char *prefix)