common.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  adchpp


#define dcassert(exp)   do { if(!(exp)) logAssert(__FILE__, __LINE__, #exp); } while(false)
#define dcasserta(exp)   dcassert(exp)
#define dcdebug   debugTrace
#define dcdrun(exp)   exp


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


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 Documentation

#define dcassert ( exp   )     do { if(!(exp)) logAssert(__FILE__, __LINE__, #exp); } while(false)
#define dcasserta ( exp   )     dcassert(exp)

Definition at line 68 of file common.h.

Referenced by adchpp::SimpleXML::escape().

#define dcdebug   debugTrace
#define dcdrun ( exp   )     exp

Definition at line 69 of file common.h.

Generated on Sat Nov 27 23:38:03 2010 for adchpp by  doxygen 1.6.3