|
xrootd
|
#include <XrdFrcCID.hh>

Classes | |
| struct | cidEnt |
| class | cidMon |
Public Member Functions | |
| int | Add (const char *iName, const char *cName, time_t addT, pid_t Pid) |
| int | Get (const char *iName, char *buff, int blen) |
| int | Get (const char *iName, const char *vName, XrdOucEnv *evP) |
| int | Init (const char *qPath) |
| void | Ref (const char *iName) |
| XrdFrcCID () | |
| ~XrdFrcCID () | |
Private Member Functions | |
| cidEnt * | Find (const char *iName) |
| int | Init (XrdOucStream &cidFile) |
| int | Update () |
Private Attributes | |
| cidEnt * | Dflt |
| cidEnt * | First |
| char * | cidFN |
| char * | cidFN2 |
| XrdFrcCID::XrdFrcCID | ( | ) | [inline] |
| XrdFrcCID::~XrdFrcCID | ( | ) | [inline] |
| int XrdFrcCID::Add | ( | const char * | iName, |
| const char * | cName, | ||
| time_t | addT, | ||
| pid_t | Pid | ||
| ) |
References XrdFrcCID::cidEnt::addT, XrdFrcCID::cidEnt::cName, XrdFrcCID::cidEnt::cNLen, and XrdFrcCID::cidEnt::Pid.
Referenced by XrdFrmReqBoss::Register().
| XrdFrcCID::cidEnt * XrdFrcCID::Find | ( | const char * | iName | ) | [private] |
References XrdFrcCID::cidEnt::iName, and XrdFrcCID::cidEnt::Next.
| int XrdFrcCID::Get | ( | const char * | iName, |
| char * | buff, | ||
| int | blen | ||
| ) |
References strlcpy(), and XrdFrcCID::cidEnt::cName.
Referenced by XrdFrmTransfer::SetupCmd().
| int XrdFrcCID::Get | ( | const char * | iName, |
| const char * | vName, | ||
| XrdOucEnv * | evP | ||
| ) |
References XrdOucEnv::Put(), and XrdFrcCID::cidEnt::cName.
| int XrdFrcCID::Init | ( | const char * | qPath | ) |
References EPNAME, XrdFrc::Say, Path, open(), XrdSysError::Emsg(), XrdOucStream::Attach(), XrdOucStream::GetLine(), DEBUG, XrdOucStream::LastError(), and XrdOucStream::Close().
Referenced by XrdFrmTransfer::Init().
| int XrdFrcCID::Init | ( | XrdOucStream & | cidFile | ) | [private] |
References EPNAME, XrdOucStream::GetToken(), XrdFrc::Say, XrdSysError::Emsg(), strtoll, and DEBUG.
| void XrdFrcCID::Ref | ( | const char * | iName | ) |
References XrdFrcCID::cidEnt::useCnt.
Referenced by XrdFrcReqFile::Init().
| int XrdFrcCID::Update | ( | ) | [private] |
References EPNAME, Mode, S_IRUSR, S_IWUSR, S_IRGRP, S_IROTH, FLOCK_t, open(), XrdFrc::Say, XrdSysError::Emsg(), fcntl(), F_SETFD, FD_CLOEXEC, close, ftruncate(), XrdFrcCID::cidEnt::Pid, XrdFrcCID::cidEnt::useCnt, XrdFrcCID::cidEnt::iName, DEBUG, XrdFrcCID::cidEnt::Next, iovec::iov_base, iovec::iov_len, XrdFrcCID::cidEnt::iNLen, XrdFrcCID::cidEnt::cName, XrdFrcCID::cidEnt::cNLen, XrdFrcCID::cidEnt::addT, writev, and rename().
char* XrdFrcCID::cidFN [private] |
char* XrdFrcCID::cidFN2 [private] |
cidEnt* XrdFrcCID::Dflt [private] |
cidEnt* XrdFrcCID::First [private] |
1.7.5