git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Always Online authorization plugin compilation errors
[stg.git]
/
stglibs
/
srvconf.lib
/
servconf.h
diff --git
a/stglibs/srvconf.lib/servconf.h
b/stglibs/srvconf.lib/servconf.h
index 9edbe6dd0016127a383b337597bebd7014834b6e..a2a74081396aa516853263444645395ad6c0f9d1 100644
(file)
--- a/
stglibs/srvconf.lib/servconf.h
+++ b/
stglibs/srvconf.lib/servconf.h
@@
-32,9
+32,9
@@
#include <list>
#include <string>
#include <list>
#include <string>
-#include "os_int.h"
+#include "stg/os_int.h"
+#include "stg/stg_const.h"
#include "netunit.h"
#include "netunit.h"
-#include "stg_const.h"
void Start(void *data, const char *el, const char **attr);
void End(void *data, const char *el);
void Start(void *data, const char *el, const char **attr);
void End(void *data, const char *el);
@@
-72,6
+72,7
@@
struct USERDATA
std::string password;
double cash;
double credit;
std::string password;
double cash;
double credit;
+ time_t creditExpire;
double lastCash;
double prepaidTraff;
int down;
double lastCash;
double prepaidTraff;
int down;
@@
-203,7
+204,6
@@
private:
RecvServerInfoDataCb_t RecvServerInfoDataCb;
void * serverInfoDataCb;
RecvServerInfoDataCb_t RecvServerInfoDataCb;
void * serverInfoDataCb;
- USERDATA user;
int depth;
bool error;
SERVERINFO serverInfo;
int depth;
bool error;
SERVERINFO serverInfo;
@@
-267,7
+267,6
@@
private:
NETTRANSACT nt;
int parseDepth;
NETTRANSACT nt;
int parseDepth;
- USERDATA ud;
std::string errorMsg;
int error;
std::string errorMsg;
int error;