From 98eac951f8087b213f5850bd126dcb279db360a8 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:42 +0200 Subject: tagging ychat-0.6 --- modl.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 modl.h (limited to 'modl.h') diff --git a/modl.h b/modl.h new file mode 100755 index 0000000..fec4f2e --- /dev/null +++ b/modl.h @@ -0,0 +1,32 @@ +// class modl declaration. + +#ifndef MODL_H +#define MODL_H + +#include "incl.h" +#include "hmap.h" + +using namespace std; + + +class modl +{ +private: + hmap* map_mods; + pthread_mutex_t mut_map_mods; + + static void dlclose_( dynmod* mod ); + dynmod* cache_module ( string s_name ); + void preload_modules( string *p_path ); + +public: + modl(); + ~modl(); + + dynmod* get_module ( string s_name ); + + hmap* + get_map_mods() { return map_mods; } +}; + +#endif -- cgit v1.2.3