|
xrootd
|
#include <XrdSecPManager.hh>

Public Member Functions | |
| XrdSecPMask_t | Find (const char *pid, char **parg=0) |
| XrdSecProtocol * | Get (const char *hname, const sockaddr &netaddr, const char *pname, XrdOucErrInfo *erp) |
| XrdSecProtocol * | Get (const char *hname, const struct sockaddr &netaddr, XrdSecParameters &secparm) |
| int | Load (XrdOucErrInfo *eMsg, const char pmode, const char *pid, const char *parg, const char *path) |
| void | setDebug (int dbg) |
| XrdSecPManager (int dbg=0) | |
| ~XrdSecPManager () | |
Private Member Functions | |
| XrdSecProtList * | Add (XrdOucErrInfo *eMsg, const char *pid, XrdSecProtocol *(*ep)(PROTPARMS), const char *parg) |
| XrdSecProtList * | ldPO (XrdOucErrInfo *eMsg, const char pmode, const char *pid, const char *parg=0, const char *spath=0) |
| XrdSecProtList * | Lookup (const char *pid) |
Private Attributes | |
| XrdSecPMask_t | protnum |
| XrdSysMutex | myMutex |
| XrdSecProtList * | First |
| XrdSecProtList * | Last |
| int | DebugON |
| XrdSecPManager::XrdSecPManager | ( | int | dbg = 0 | ) | [inline] |
| XrdSecPManager::~XrdSecPManager | ( | ) | [inline] |
| XrdSecProtList * XrdSecPManager::Add | ( | XrdOucErrInfo * | eMsg, |
| const char * | pid, | ||
| XrdSecProtocol *(*)(PROTPARMS) | ep, | ||
| const char * | parg | ||
| ) | [private] |
References XrdSecProtList::ep, First, Last, XrdSysMutex::Lock(), myMutex, XrdSecProtList::Next, XrdSecProtList::protnum, protnum, XrdOucErrInfo::setErrInfo(), and XrdSysMutex::UnLock().
Referenced by ldPO().
| XrdSecPMask_t XrdSecPManager::Find | ( | const char * | pid, |
| char ** | parg = 0 |
||
| ) |
References Lookup(), XrdSecProtList::protargs, and XrdSecProtList::protnum.
Referenced by XrdSecServer::add2token(), XrdSecServer::getProtocol(), XrdSecServer::xpbind(), XrdSecServer::xpparm(), and XrdSecServer::xprot().
| XrdSecProtocol * XrdSecPManager::Get | ( | const char * | hname, |
| const sockaddr & | netaddr, | ||
| const char * | pname, | ||
| XrdOucErrInfo * | erp | ||
| ) |
References DEBUG, XrdSecProtList::ep, EPROTONOSUPPORT, Lookup(), XrdSecProtList::protargs, and XrdOucErrInfo::setErrInfo().
Referenced by XrdSecServer::getProtocol(), and XrdSecGetProtocol().
| XrdSecProtocol* XrdSecPManager::Get | ( | const char * | hname, |
| const struct sockaddr & | netaddr, | ||
| XrdSecParameters & | secparm | ||
| ) |
| XrdSecProtList * XrdSecPManager::ldPO | ( | XrdOucErrInfo * | eMsg, |
| const char | pmode, | ||
| const char * | pid, | ||
| const char * | parg = 0, |
||
| const char * | spath = 0 |
||
| ) | [private] |
| int XrdSecPManager::Load | ( | XrdOucErrInfo * | eMsg, |
| const char | pmode, | ||
| const char * | pid, | ||
| const char * | parg, | ||
| const char * | path | ||
| ) | [inline] |
References ldPO().
Referenced by XrdSecServer::ProtBind_Complete(), and XrdSecServer::xprot().
| XrdSecProtList * XrdSecPManager::Lookup | ( | const char * | pid | ) | [private] |
References First, XrdSysMutex::Lock(), myMutex, XrdSecProtList::Next, XrdSecProtList::protid, and XrdSysMutex::UnLock().
| void XrdSecPManager::setDebug | ( | int | dbg | ) | [inline] |
References DebugON.
Referenced by XrdSecServer::xtrace().
int XrdSecPManager::DebugON [private] |
Referenced by setDebug(), and XrdSecPManager().
XrdSecProtList* XrdSecPManager::First [private] |
Referenced by Add(), Lookup(), and XrdSecPManager().
XrdSecProtList* XrdSecPManager::Last [private] |
Referenced by Add(), and XrdSecPManager().
XrdSysMutex XrdSecPManager::myMutex [private] |
XrdSecPMask_t XrdSecPManager::protnum [private] |
Referenced by Add(), and XrdSecPManager().
1.7.3