diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-02 19:06:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-02 19:06:39 +0300 |
commit | 1fc6228436311da0d70f14176fe47f3e37f6faa6 (patch) | |
tree | 9434c90ab44ac55200daa199f524fa11f3168678 /src/elogin/parse.h | |
parent | 00d1b8bf9fc3648730904b6f86696417f4445037 (diff) | |
download | evol-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.h | 10 |
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 |