]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/include/stg/servconf.h
Implemented add-user and chg-user.
[stg.git] / stglibs / srvconf.lib / include / stg / servconf.h
index 2a2dbcaac0a13af69badfc3143eb3fd023c6fbb5..467671db19e3f2582739f4e8a67ded41aaa1106e 100644 (file)
@@ -72,7 +72,10 @@ public:
                 const USER_STAT_RES & stat,
                 SIMPLE::CALLBACK f, void * data);
     int DelUser(const std::string & login, SIMPLE::CALLBACK f, void * data);
-    int AddUser(const std::string & login, SIMPLE::CALLBACK f, void * data);
+    int AddUser(const std::string & login,
+                const USER_CONF_RES & conf,
+                const USER_STAT_RES & stat,
+                SIMPLE::CALLBACK f, void * data);
     int AuthBy(const std::string & login, AUTH_BY::CALLBACK f, void * data);
     int SendMessage(const std::string & login, const std::string & text, SIMPLE::CALLBACK f, void * data);
     int CheckUser(const std::string & login, const std::string & password, SIMPLE::CALLBACK f, void * data);