XRootD
XrdSecBuffer Struct Reference

Generic structure to pass security information back and forth. More...

#include <XrdSecInterface.hh>

+ Collaboration diagram for XrdSecBuffer:

Public Member Functions

 XrdSecBuffer (char *bp=0, int sz=0)
 
 ~XrdSecBuffer ()
 

Public Attributes

char * buffer
 Pointer to the buffer. More...
 
int size
 Size of the buffer or length of data in the buffer. More...
 

Detailed Description

Generic structure to pass security information back and forth.

Definition at line 50 of file XrdSecInterface.hh.

Constructor & Destructor Documentation

◆ XrdSecBuffer()

XrdSecBuffer::XrdSecBuffer ( char *  bp = 0,
int  sz = 0 
)
inline

Definition at line 55 of file XrdSecInterface.hh.

55 : size(sz), buffer(bp), membuf(bp) {}
char * buffer
Pointer to the buffer.
int size
Size of the buffer or length of data in the buffer.

◆ ~XrdSecBuffer()

XrdSecBuffer::~XrdSecBuffer ( )
inline

Definition at line 56 of file XrdSecInterface.hh.

56 {if (membuf) free(membuf);}

Member Data Documentation

◆ buffer

◆ size


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