summaryrefslogtreecommitdiff
path: root/src/elogin/parse.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-02 19:06:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-02 19:06:39 +0300
commit1fc6228436311da0d70f14176fe47f3e37f6faa6 (patch)
tree9434c90ab44ac55200daa199f524fa11f3168678 /src/elogin/parse.h
parent00d1b8bf9fc3648730904b6f86696417f4445037 (diff)
downloadevol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.gz
evol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.bz2
evol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.xz
evol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.zip
Update function hook prototypes for support new hercules.
Diffstat (limited to 'src/elogin/parse.h')
-rw-r--r--src/elogin/parse.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/elogin/parse.h b/src/elogin/parse.h
index 97f66d4..07d2a3d 100644
--- a/src/elogin/parse.h
+++ b/src/elogin/parse.h
@@ -5,10 +5,14 @@
#define EVOL_LOGIN_PARSE
void login_parse_version(int fd);
-int elogin_client_login_pre(int *fd, struct login_session_data* sd);
-int elogin_client_login_post(int retVal, int *fd, struct login_session_data* sd);
+bool elogin_client_login_pre(int *fd,
+ struct login_session_data **sdPtr);
+bool elogin_client_login_post(bool retVal,
+ int fd,
+ struct login_session_data *sd);
void elogin_parse_client_login2(int fd);
-void elogin_parse_ping(int *fd, struct login_session_data* sd);
+enum parsefunc_rcode elogin_parse_ping_pre(int *fd,
+ struct login_session_data **sdPtr);
void elogin_parse_change_paassword(int fd);
#endif // EVOL_LOGIN_PARSE