]> git.stg.codes - stg.git/blob - projects/sgconf/users.h
Implemented some service and corporation management functions.
[stg.git] / projects / sgconf / users.h
1 #ifndef __STG_SGCONF_USERS_H__
2 #define __STG_SGCONF_USERS_H__
3
4 #include <string>
5 #include <map>
6
7 namespace SGCONF
8 {
9
10 struct CONFIG;
11
12 bool GetUsersFunction(const CONFIG & config,
13                       const std::string & /*arg*/,
14                       const std::map<std::string, std::string> & /*options*/);
15
16 bool GetUserFunction(const CONFIG & config,
17                      const std::string & arg,
18                      const std::map<std::string, std::string> & /*options*/);
19
20 bool DelUserFunction(const CONFIG & config,
21                      const std::string & arg,
22                      const std::map<std::string, std::string> & /*options*/);
23
24 bool AddUserFunction(const CONFIG & config,
25                      const std::string & arg,
26                      const std::map<std::string, std::string> & options);
27
28 bool ChgUserFunction(const CONFIG & config,
29                      const std::string & arg,
30                      const std::map<std::string, std::string> & options);
31
32 bool CheckUserFunction(const CONFIG & config,
33                        const std::string & arg,
34                        const std::map<std::string, std::string> & options);
35
36 bool SendMessageFunction(const CONFIG & config,
37                          const std::string & arg,
38                          const std::map<std::string, std::string> & options);
39
40 }
41
42 #endif