git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved common initialization code to a separate class method.
[stg.git]
/
projects
/
sgconf
/
common_sg.h
diff --git
a/projects/sgconf/common_sg.h
b/projects/sgconf/common_sg.h
index d36ed750b6c53163e7a65ca99a0dea90a3747721..a5cbffad86289f16be34308ad61f6e1575346932 100644
(file)
--- a/
projects/sgconf/common_sg.h
+++ b/
projects/sgconf/common_sg.h
@@
-30,7
+30,7
@@
#include <string>
#include <string>
-#include "servconf.h"
+#include "s
tg/s
ervconf.h"
#include "request.h"
void UsageConf();
#include "request.h"
void UsageConf();
@@
-52,6
+52,13
@@
int ProcessGetUser(const std::string &server,
const std::string &login,
void * data);
const std::string &login,
void * data);
+int ProcessAuthBy(const std::string &server,
+ int port,
+ const std::string &admLogin,
+ const std::string &admPasswd,
+ const std::string &login,
+ void * data);
+
int ProcessSetUser(const std::string &server,
int port,
const std::string &admLogin,
int ProcessSetUser(const std::string &server,
int port,
const std::string &admLogin,