XRootD
Loading...
Searching...
No Matches
XrdOucSFVec Struct Reference

#include <XrdOucSFVec.hh>

Collaboration diagram for XrdOucSFVec:

Public Types

enum  { sfMax = 16 }

Public Attributes

union { 
char * buffer
 ->Data if fdnum < 0
off_t offset
 File offset of data otherwise.
}; 
int fdnum
 File descriptor for data.
int sendsz
 Length of data at offset.

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.

Definition at line 43 of file XrdOucSFVec.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
sfMax 

Definition at line 49 of file XrdOucSFVec.hh.

49{sfMax = 16};

Member Data Documentation

◆ [union]

union { ... } XrdOucSFVec

◆ fdnum

int XrdOucSFVec::fdnum

◆ sendsz

int XrdOucSFVec::sendsz

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