#include <TclAuthorizer.h>
Public Methods | |
CTclAuthorizer (Tcl_Interp *pInterp) | |
~CTclAuthorizer () | |
const CTCLVariable * | getHostNames () const |
const CTCLVariable * | getHostIps () const |
virtual int | operator() (CTCLInterpreter &rInterp, CTCLResult &rResult, int nArgs, char *pArgs[]) |
Bool_t | AddHost (const std::string &HostOrIp) |
Bool_t | RemoveHost (const std::string &NameOrIP) |
std::string | ListHosts () |
Bool_t | Authenticate (const std::string &rNameOrIp) |
Protected Methods | |
void | setHostNames (CTCLVariable *am_pHostNames) |
void | setHostIps (CTCLVariable *am_pHostIps) |
int | Process (CTCLInterpreter &rInterp, CTCLResult &rResult, int nArgs, char *pArgs[]) |
Bool_t | HostToIp (std::string &rName) |
Int_t | GetIndex (const std::string &rHostOrIp) |
Bool_t | ConvertHost (const std::string &rInName, std::string &rOutname, std::string &rCanonicalIP) |
Int_t | Usage (CTCLResult &rResult) |
Private Methods | |
CTclAuthorizer (const CTclAuthorizer &aCTclAuthorizer) | |
CTclAuthorizer & | operator= (const CTclAuthorizer &aCTclAuthorizer) |
int | operator== (const CTclAuthorizer &aCTclAuthorizer) const |
void | setResult (const std::string &rResult) |
void | setResult (const char *pResult) |
Private Attributes | |
CTCLInterpreter * | m_pInterpreter |
CTCLVariable * | m_pHostNames |
CTCLVariable * | m_pHostIps |
CTCLResult * | m_pResult |
|
Definition at line 326 of file TclAuthorizer.cpp. References IPVariable(), m_pHostIps, m_pHostNames, m_pInterpreter, and NameVariable(). |
|
Definition at line 342 of file TclAuthorizer.h. References m_pHostIps, m_pHostNames, and m_pInterpreter. |
|
|
|
Definition at line 402 of file TclAuthorizer.cpp. References ConvertHost(), GetIndex(), m_pHostIps, m_pHostNames, m_pInterpreter, and setResult(). Referenced by Process(), and CInterpreterCore::RegisterExtensions(). |
|
Definition at line 546 of file TclAuthorizer.cpp. References GetIndex(). Referenced by CTCLListener::Authenticate(). |
|
Definition at line 639 of file TclAuthorizer.cpp. References HostToIp(). Referenced by AddHost(). |
|
Definition at line 365 of file TclAuthorizer.h. References m_pHostIps. |
|
Definition at line 361 of file TclAuthorizer.h. References m_pHostNames. |
|
Definition at line 609 of file TclAuthorizer.cpp. References HostToIp(), m_pHostIps, and m_pInterpreter. Referenced by AddHost(), Authenticate(), and RemoveHost(). |
|
Definition at line 563 of file TclAuthorizer.cpp. Referenced by ConvertHost(), and GetIndex(). |
|
Definition at line 505 of file TclAuthorizer.cpp. References m_pHostIps, m_pHostNames, and m_pInterpreter. Referenced by Process(). |
|
Definition at line 342 of file TclAuthorizer.cpp. |
|
|
|
|
|
Definition at line 350 of file TclAuthorizer.cpp. References AddHost(), ListHosts(), RemoveHost(), and Usage(). Referenced by operator()(). |
|
Definition at line 455 of file TclAuthorizer.cpp. References GetIndex(), m_pHostIps, m_pHostNames, m_pInterpreter, and setResult(). Referenced by Process(). |
|
Definition at line 378 of file TclAuthorizer.h. References m_pHostIps. |
|
Definition at line 374 of file TclAuthorizer.h. References m_pHostNames. |
|
Definition at line 405 of file TclAuthorizer.h. References m_pResult. |
|
Definition at line 402 of file TclAuthorizer.h. References m_pResult. Referenced by AddHost(), and RemoveHost(). |
|
Definition at line 662 of file TclAuthorizer.cpp. Referenced by Process(). |
|
Definition at line 333 of file TclAuthorizer.h. Referenced by AddHost(), CTclAuthorizer(), getHostIps(), GetIndex(), ListHosts(), RemoveHost(), setHostIps(), and ~CTclAuthorizer(). |
|
Definition at line 332 of file TclAuthorizer.h. Referenced by AddHost(), CTclAuthorizer(), getHostNames(), ListHosts(), RemoveHost(), setHostNames(), and ~CTclAuthorizer(). |
|
Definition at line 331 of file TclAuthorizer.h. Referenced by AddHost(), CTclAuthorizer(), GetIndex(), ListHosts(), RemoveHost(), and ~CTclAuthorizer(). |
|
Definition at line 334 of file TclAuthorizer.h. Referenced by operator()(), and setResult(). |