xrootd
Loading...
Searching...
No Matches
Classes | Typedefs
XrdSysXAttr.hh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XrdSysXAttr
 
struct  XrdSysXAttr::AList
 

Typedefs

typedef XrdSysXAttr *(* XrdSysGetXAttrObject_t) (XrdSysError *errP, const char *config_fn, const char *parms)
 
typedef XrdSysXAttr *(* XrdSysAddXAttrObject_t) (XrdSysError *errP, const char *config_fn, const char *parms, XrdOucEnv *envP, XrdSysXAttr *attrP)
 

Typedef Documentation

◆ XrdSysAddXAttrObject_t

typedef XrdSysXAttr *(* XrdSysAddXAttrObject_t) (XrdSysError *errP, const char *config_fn, const char *parms, XrdOucEnv *envP, XrdSysXAttr *attrP)

extern "C" XrdSysXAttr *XrdSysGetXAttrObject(XrdSysError *errP, const char *config_fn, const char *parms); Add an instance of a configured XrdSysXAttr object, wrapping previous one.

Parameters
errP-> Error message object for error messages.
config_fn-> The name of the config file.
parms-> Any parameters specified on the ofs.xattrlib directive. If there are no parameters parms may be 0.
envP-> To environmental information (may be nil).
attrP-> the current attribue object that should be wraped by this object.
Returns
Success: -> an instance of the XrdSysXattr object to be used. Failure: Null pointer which causes initialization to fail.

The object creation function must be declared as an extern "C" function in the plug-in shared library as follows:

◆ XrdSysGetXAttrObject_t

typedef XrdSysXAttr *(* XrdSysGetXAttrObject_t) (XrdSysError *errP, const char *config_fn, const char *parms)

Get an instance of a configured XrdSysXAttr object.

Parameters
errP-> Error message object for error messages.
config_fn-> The name of the config file.
parms-> Any parameters specified on the ofs.xattrlib directive. If there are no parameters parms may be 0.
Returns
Success: -> an instance of the XrdSysXattr object to be used. Failure: Null pointer which causes initialization to fail.

The object creation function must be declared as an extern "C" function in the plug-in shared library as follows: