
Go to the source code of this file.
Namespaces | |
| namespace | adchpp |
Defines | |
| #define | dcassert(exp) do { if(!(exp)) logAssert(__FILE__, __LINE__, #exp); } while(false) |
| #define | dcasserta(exp) dcassert(exp) |
| #define | dcdebug debugTrace |
| #define | dcdrun(exp) exp |
Typedefs | |
| typedef ByteVector::iterator | adchpp::ByteIter |
| typedef std::vector< uint8_t > | adchpp::ByteVector |
| typedef StringList::iterator | adchpp::StringIter |
| typedef StringList::const_iterator | adchpp::StringIterC |
| typedef std::vector< std::string > | adchpp::StringList |
Functions | |
| void | adchpp::cleanup () |
| Release any resources held by adchpp. | |
| void | adchpp::debugTrace (const char *format,...) |
| void | adchpp::initialize (const std::string &path) |
| Initialize configuration. | |
| void | adchpp::logAssert (const char *file, int line, const char *exp) |
| void | adchpp::shutdown (void(*f)()) |
| Stop listening for incoming connections. | |
| void | adchpp::startup (void(*f)()) |
| Load plugins and start listening for incoming connections. | |
| #define dcassert | ( | exp | ) | do { if(!(exp)) logAssert(__FILE__, __LINE__, #exp); } while(false) |
Definition at line 65 of file common.h.
Referenced by adchpp::SimpleXML::checkChildSelected(), adchpp::ClientManager::enterIdentify(), adchpp::ClientManager::enterNormal(), adchpp::ClientManager::enterVerify(), adchpp::File::File(), adchpp::SimpleXML::findChild(), adchpp::SimpleXML::getData(), adchpp::Singleton< TimerManager >::getInstance(), adchpp::SimplePool< ByteVector, Clear >::put(), adchpp::SimpleXML::resetCurrentChild(), adchpp::SimpleXML::stepOut(), adchpp::Encoder::toBase32(), adchpp::TigerHash::update(), adchpp::Entity::updateFields(), and adchpp::Text::utf8ToWc().
| #define dcasserta | ( | exp | ) | dcassert(exp) |
Definition at line 68 of file common.h.
Referenced by adchpp::SimpleXML::escape().
| #define dcdebug debugTrace |
Definition at line 64 of file common.h.
Referenced by adchpp::CommandHandler< ClientManager >::dispatch(), adchpp::LogManager::dolog(), adchpp::ClientManager::enterIdentify(), adchpp::ClientManager::enterNormal(), adchpp::ClientManager::enterVerify(), adchpp::Exception::Exception(), adchpp::ClientManager::getEntity(), adchpp::ClientManager::onConnected(), adchpp::ClientManager::onFailed(), adchpp::SimplePool< ByteVector, Clear >::put(), adchpp::ClientManager::removeEntity(), adchpp::ClientManager::verifyCID(), adchpp::ClientManager::verifyIp(), adchpp::ClientManager::verifyNick(), adchpp::ManagedSocket::~ManagedSocket(), and adchpp::SimplePool< ByteVector, Clear >::~SimplePool().
1.6.3