xrootd
Public Types | Public Member Functions | Private Attributes
XrdSutFileLocker Class Reference

#include <XrdSutAux.hh>

List of all members.

Public Types

enum  ELockType { kShared = 0, kExcl = 1 }

Public Member Functions

 XrdSutFileLocker (int fd, ELockType lock)
 ~XrdSutFileLocker ()
bool IsValid () const

Private Attributes

int fdesk
bool valid

Member Enumeration Documentation

Enumerator:
kShared 
kExcl 

Constructor & Destructor Documentation

XrdSutFileLocker::XrdSutFileLocker ( int  fd,
ELockType  lock 
)

References fcntl(), fdesk, kExcl, and valid.

XrdSutFileLocker::~XrdSutFileLocker ( )

References fcntl(), fdesk, and IsValid().


Member Function Documentation

bool XrdSutFileLocker::IsValid ( ) const [inline]

References valid.

Referenced by XrdCryptosslX509ChainToFile(), and ~XrdSutFileLocker().


Member Data Documentation

int XrdSutFileLocker::fdesk [private]
bool XrdSutFileLocker::valid [private]

Referenced by IsValid(), and XrdSutFileLocker().


The documentation for this class was generated from the following files: