xrootd
Loading...
Searching...
No Matches
Classes | Macros
XrdLinkCtl.hh File Reference
#include "Xrd/XrdLinkXeq.hh"
#include "XrdSys/XrdSysPthread.hh"
Include dependency graph for XrdLinkCtl.hh:

Go to the source code of this file.

Classes

class  XrdLinkCtl
 

Macros

#define XRDLINK_RDLOCK   0x0001
 
#define XRDLINK_NOCLOSE   0x0002
 

Macro Definition Documentation

◆ XRDLINK_NOCLOSE

#define XRDLINK_NOCLOSE   0x0002

◆ XRDLINK_RDLOCK

#define XRDLINK_RDLOCK   0x0001

Allocate a new link object.

Parameters
peerThe connection information for the endpoint.
optsProcessing options: XRDLINK_NOCLOSE - do not close the FD upon recycling. XRDLINK_RDLOCK - obtain a lock prior to reading data.
Returns
!0 The pointer to the new object. =0 A new link object could not be allocated.