#include <XrdOucSFVec.hh>
Classes | |
| union | [union].__unnamed0__ |
Public Types | |
| enum | { sfMax = 16 } |
Public Attributes | |
| union | |
| int | fdnum |
| File descriptor for data. | |
| int | sendsz |
| Length of data at offset. | |
The struct defined here is a generic data structure that is used whenever we need to pass a vector of file offsets, lengths, and the corresponding target buffer pointers to effect a sendfile() call. It is used by the xrd, sfs, ofs., and oss components.
Definition at line 43 of file XrdOucSFVec.hh.
| union XrdOucSFVec::[union].__unnamed0__ |
Definition at line 43 of file XrdOucSFVec.hh.
| Class Members | ||
|---|---|---|
| char * | buffer | ->Data if fdnum < 0 |
| off_t | offset | File offset of data otherwise. |
| anonymous enum |
| int XrdOucSFVec::fdnum |
File descriptor for data.
Definition at line 47 of file XrdOucSFVec.hh.
Referenced by XrdLinkXeq::Send(), XrdSsiFileReq::Send(), XrdXrootdResponse::Send(), XrdXrootdResponse::Send(), XrdXrootdTransSend::Send(), and XrdLinkXeq::TLS_Send().
| int XrdOucSFVec::sendsz |
Length of data at offset.
Definition at line 46 of file XrdOucSFVec.hh.
Referenced by XrdLinkXeq::Send(), XrdSsiFileReq::Send(), XrdXrootdResponse::Send(), XrdXrootdResponse::Send(), XrdXrootdTransSend::Send(), and XrdLinkXeq::TLS_Send().