00001 #include "headers.h" 00002 00003 IMPLEMENT_APP(PeekabootyApp) 00004 00005 void mainInit() { 00006 ssl_init(); 00007 ssl_thread_init(); 00008 initSockets(); 00009 GlobalObjects::instance(); 00010 } 00011 00012 00013 void unload() { 00014 GlobalObjects::destroy(); 00015 } 00016 00017 /* 00018 int main(char** argv, int argc) { 00019 mainInit(); 00020 00021 #ifndef RELEASE 00022 GlobalObjects::instance()->getCli()->processCommands(); 00023 #else 00024 GlobalObjects::instance()->getProxyCommandProcessor()->processCommands(); 00025 #endif 00026 00027 return 0; 00028 } // fn main 00029 */