XrdOucSFVec Struct Reference

#include <XrdOucSFVec.hh>

List of all members.

Public Types

enum  { sfMax = 16 }

Public Attributes

union {
   char *   buffer
 ->Data if fdnum < 0
   off_t   offset
 File offset of data otherwise.
}; 
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
Enumerator:
sfMax 

Member Data Documentation

union { ... }

->Data if fdnum < 0

File descriptor for data.

File offset of data otherwise.

Length of data at offset.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Sep 2020 for xrootd by  doxygen 1.6.1