XrdLinkCtl.hh File Reference
#include "Xrd/XrdLinkXeq.hh"
#include "XrdSys/XrdSysPthread.hh"
Go to the source code of this file.
Define Documentation
#define XRDLINK_NOCLOSE 0x0002 |
#define XRDLINK_RDLOCK 0x0001 |
Allocate a new link object.
- Parameters:
-
| peer | The connection information for the endpoint. |
| opts | Processing 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.