xrootd
Loading...
Searching...
No Matches
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.
 
int fdnum
 File descriptor for data.
 

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

anonymous enum
Enumerator
sfMax 

Member Data Documentation

◆ [union]

union { ... } XrdOucSFVec

◆ buffer

char* XrdOucSFVec::buffer

->Data if fdnum < 0

◆ fdnum

int XrdOucSFVec::fdnum

File descriptor for data.

◆ offset

off_t XrdOucSFVec::offset

File offset of data otherwise.

◆ sendsz

int XrdOucSFVec::sendsz

Length of data at offset.


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