xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Attributes | List of all members
XrdOucSFVec Struct Reference

#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. More...
 
int fdnum
 File descriptor for data. More...
 

Detailed Description

XrdOucSFVec

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.

Member Enumeration Documentation

anonymous enum
Enumerator
sfMax 

Member Data Documentation

union { ... }
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.


The documentation for this struct was generated from the following file: