xrootd
|
#include <XrdSecProtocolsslProc.hh>
Public Member Functions | |
bool | Open () |
bool | Close () |
bool | Write (long long val, int writedelay=0) |
bool | Write (double val, int writedelay=0) |
bool | Write (const char *str, int writedelay=0) |
bool | WriteKeyVal (const char *key, unsigned long long value, int writedelay, bool truncate=0) |
long long | Read () |
bool | Read (XrdOucString &str) |
XrdSecProtocolsslProcFile (const char *name, bool syncit=false) | |
virtual | ~XrdSecProtocolsslProcFile () |
Private Attributes | |
int | fd |
XrdOucString | fname |
bool | procsync |
time_t | lastwrite |
XrdSecProtocolsslProcFile::XrdSecProtocolsslProcFile | ( | const char * | name, |
bool | syncit = false |
||
) | [inline] |
virtual XrdSecProtocolsslProcFile::~XrdSecProtocolsslProcFile | ( | ) | [inline, virtual] |
References Close().
bool XrdSecProtocolsslProcFile::Close | ( | ) | [inline] |
Referenced by ~XrdSecProtocolsslProcFile().
bool XrdSecProtocolsslProcFile::Open | ( | ) |
References XrdOucString::c_str(), fd, fname, open(), procsync, S_IRGRP, S_IROTH, and S_IRWXU.
Referenced by XrdSecProtocolsslProc::Handle().
bool XrdSecProtocolsslProcFile::Read | ( | XrdOucString & | str | ) |
bool XrdSecProtocolsslProcFile::Write | ( | const char * | str, |
int | writedelay = 0 |
||
) |
References fd, ftruncate(), lastwrite, lseek(), and write().
bool XrdSecProtocolsslProcFile::Write | ( | double | val, |
int | writedelay = 0 |
||
) |
References Write().
bool XrdSecProtocolsslProcFile::Write | ( | long long | val, |
int | writedelay = 0 |
||
) |
Referenced by XrdSecProtocolssl::Fatal(), XrdSecProtocolssl::secServer(), Write(), and XrdSecProtocolsslInit().
bool XrdSecProtocolsslProcFile::WriteKeyVal | ( | const char * | key, |
unsigned long long | value, | ||
int | writedelay, | ||
bool | truncate = 0 |
||
) |
References fd, ftruncate(), lastwrite, lseek(), and write().
int XrdSecProtocolsslProcFile::fd [private] |
Referenced by Close(), Open(), Read(), Write(), WriteKeyVal(), and XrdSecProtocolsslProcFile().
XrdOucString XrdSecProtocolsslProcFile::fname [private] |
Referenced by Open(), and XrdSecProtocolsslProcFile().
time_t XrdSecProtocolsslProcFile::lastwrite [private] |
Referenced by Write(), WriteKeyVal(), and XrdSecProtocolsslProcFile().
bool XrdSecProtocolsslProcFile::procsync [private] |
Referenced by Open(), and XrdSecProtocolsslProcFile().