From 5f4e214740242513c837c8a005ca23779bab1d0c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:45 +0200 Subject: tagging ychat-0.8.2 --- src/wrap.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'src/wrap.h') diff --git a/src/wrap.h b/src/wrap.h index 23d2aa3..4b0da6f 100755 --- a/src/wrap.h +++ b/src/wrap.h @@ -7,15 +7,25 @@ struct socketcontainer { int i_sock; +#ifdef OPENSSL + void *p_ssl_context; +#endif + }; #ifdef DATABASE +#include "data/data.h" #endif +#include "chat/chat.h" #include "conf/conf.h" +#include "chat/gcol.h" #include "html.h" #ifdef LOGGING #include "logd.h" #endif +//<<* +#include "modl.h" +//*>> #ifdef NCURSES #include "ncur/ncur.h" @@ -25,8 +35,14 @@ struct socketcontainer #endif #endif +#include "chat/sman.h" +#ifndef OPENSSL #include "sock/sock.h" +#else +#include "sock/sslsock.h" +#endif + #include "monitor/stats.h" #include "time/timr.h" #include "thrd/pool.h" @@ -38,6 +54,17 @@ using namespace std; class dynamic_wrap { public: + //<<* + chat* CHAT; +#ifdef DATABASE + + data* DATA; +#endif + + gcol* GCOL; + sman* SMAN; + modl* MODL; + //*>> conf* CONF; html* HTML; @@ -73,6 +100,22 @@ public: static void init_wrapper(map* p_main_loop_params); + //<<* + static chat* CHAT; +#ifdef DATABASE + + static data* DATA; +#endif + + static gcol* GCOL; + static sman* SMAN; +#ifdef IRCBOT + + static ybot* YBOT; +#endif + + static modl* MODL; + //*>> static conf* CONF; static html* HTML; -- cgit v1.2.3