summaryrefslogtreecommitdiff
path: root/ychat-0.4/modl.h
blob: 10f93ba911395d448a83d32261d93e625ecc06cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// class modl declaration.

#ifndef MODL_H
#define MODL_H

#include "incl.h"
#include "hmap.h"

using namespace std;


class modl 
{
private:
 hmap<dynmod*,string>* map_mods;
 pthread_mutex_t mut_map_mods;

 static  void dlclose_( dynmod* mod   );
 dynmod* cache_module ( string s_name );

public:
 modl();
 ~modl();

 dynmod* get_module  ( string s_name );

};

#endif