git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More correct way to use printf
[stg.git]
/
projects
/
stargazer
/
plugins
/
configuration
/
sgconfig
/
configproto.h
diff --git
a/projects/stargazer/plugins/configuration/sgconfig/configproto.h
b/projects/stargazer/plugins/configuration/sgconfig/configproto.h
index efecd121458f8e8214e07f8a11b1be56b8f129cf..15809c3c7fd9a6e9848b505691e230c64930f862 100644
(file)
--- a/
projects/stargazer/plugins/configuration/sgconfig/configproto.h
+++ b/
projects/stargazer/plugins/configuration/sgconfig/configproto.h
@@
-61,16
+61,19
@@
public:
void SetTariffs(TARIFFS * t);
void SetStore(STORE * s);
void SetStgSettings(const SETTINGS * s);
void SetTariffs(TARIFFS * t);
void SetStore(STORE * s);
void SetStgSettings(const SETTINGS * s);
- uint32_t GetAdminIP() const
;
+ uint32_t GetAdminIP() const
{ return adminIP; }
int Prepare();
int Stop();
int Prepare();
int Stop();
- const std::string & GetStrError() const
;
-
static void * Run(void * a
);
+ const std::string & GetStrError() const
{ return errorStr; }
+
void Run(
);
private:
private:
+ CONFIGPROTO(const CONFIGPROTO & rvalue);
+ CONFIGPROTO & operator=(const CONFIGPROTO & rvalue);
+
int RecvHdr(int sock);
int RecvLogin(int sock);
int RecvHdr(int sock);
int RecvLogin(int sock);
- int SendLoginAnswer(int sock
, int err
);
+ int SendLoginAnswer(int sock);
int SendHdrAnswer(int sock, int err);
int RecvLoginS(int sock);
int SendLoginSAnswer(int sock, int err);
int SendHdrAnswer(int sock, int err);
int RecvLoginS(int sock);
int SendLoginSAnswer(int sock, int err);