#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 |
Definition at line 29 of file XrdSecPManager.hh.
XrdSecPManager::XrdSecPManager | ( | int | dbg = 0 |
) | [inline] |
XrdSecPManager::~XrdSecPManager | ( | ) | [inline] |
Definition at line 56 of file XrdSecPManager.hh.
XrdSecPMask_t XrdSecPManager::Find | ( | const char * | pid, | |
char ** | parg = 0 | |||
) |
Definition at line 76 of file XrdSecPManager.cc.
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 | |||
) |
Definition at line 91 of file XrdSecPManager.cc.
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 | |||
) |
int XrdSecPManager::Load | ( | XrdOucErrInfo * | eMsg, | |
const char | pmode, | |||
const char * | pid, | |||
const char * | parg, | |||
const char * | path | |||
) | [inline] |
Definition at line 45 of file XrdSecPManager.hh.
Referenced by XrdSecServer::ProtBind_Complete(), and XrdSecServer::xprot().
void XrdSecPManager::setDebug | ( | int | dbg | ) | [inline] |
Definition at line 52 of file XrdSecPManager.hh.
References DebugON.
Referenced by XrdSecServer::xtrace().
XrdSecProtList * XrdSecPManager::Add | ( | XrdOucErrInfo * | eMsg, | |
const char * | pid, | |||
XrdSecProtocol *(*)(PROTPARMS) | ep, | |||
const char * | parg | |||
) | [private] |
Definition at line 180 of file XrdSecPManager.cc.
References eMsg, XrdSecProtList::ep, First, Last, XrdSysMutex::Lock(), myMutex, XrdSecProtList::Next, protnum, XrdSecProtList::protnum, and XrdSysMutex::UnLock().
Referenced by ldPO().
XrdSecProtList * XrdSecPManager::ldPO | ( | XrdOucErrInfo * | eMsg, | |
const char | pmode, | |||
const char * | pid, | |||
const char * | parg = 0 , |
|||
const char * | spath = 0 | |||
) | [private] |
XrdSecProtList * XrdSecPManager::Lookup | ( | const char * | pid | ) | [private] |
Definition at line 307 of file XrdSecPManager.cc.
References First, XrdSysMutex::Lock(), myMutex, XrdSecProtList::Next, XrdSecProtList::protid, and XrdSysMutex::UnLock().
XrdSecPMask_t XrdSecPManager::protnum [private] |
XrdSysMutex XrdSecPManager::myMutex [private] |
XrdSecProtList* XrdSecPManager::First [private] |
Definition at line 71 of file XrdSecPManager.hh.
Referenced by Add(), Lookup(), and XrdSecPManager().
XrdSecProtList* XrdSecPManager::Last [private] |
int XrdSecPManager::DebugON [private] |