xrootd
|
#include <XrdOucSFVec.hh>
Public Types | |
enum | { sfMax = 16 } |
Public Attributes | ||
union { | ||
char * buffer | ||
->Data if fdnum < 0 More... | ||
off_t offset | ||
File offset of data otherwise. More... | ||
}; | ||
int | sendsz | |
Length of data at offset. | ||
int | fdnum | |
File descriptor for data. | ||
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.
union { ... } XrdOucSFVec |
char* XrdOucSFVec::buffer |
->Data if fdnum < 0
int XrdOucSFVec::fdnum |
File descriptor for data.
off_t XrdOucSFVec::offset |
File offset of data otherwise.
int XrdOucSFVec::sendsz |
Length of data at offset.