#ifndef COMMON_SG_H
#define COMMON_SG_H
-#include <string>
-
#include "stg/servconf.h"
#include "request.h"
+#include <string>
+
void UsageConf();
void UsageInfo();
const std::string &admLogin,
const std::string &admPasswd,
const std::string &login,
- void * data);
+ REQUEST & request);
int ProcessAuthBy(const std::string &server,
int port,
const std::string &admLogin,
const std::string &admPasswd,
- const std::string &login,
- void * data);
+ const std::string &login);
int ProcessSetUser(const std::string &server,
int port,
const std::string &admLogin,
const std::string &admPasswd,
const std::string &str,
- void * data,
bool isMessage = false);
#endif
-