summaryrefslogtreecommitdiff
path: root/src/login/login.h
diff options
context:
space:
mode:
authorhemagx <hemagx2@gmail.com>2016-03-28 21:54:46 +0200
committerHaru <haru@dotalux.com>2016-04-16 07:29:36 +0200
commit480e959347ac5903d9c0b659376db139792eb44b (patch)
tree85235026f63260d4005f43edb1d3477195c8090e /src/login/login.h
parent1c6b5afe8a2926b2364d85d122c3a56ca526e98e (diff)
downloadhercules-480e959347ac5903d9c0b659376db139792eb44b.tar.gz
hercules-480e959347ac5903d9c0b659376db139792eb44b.tar.bz2
hercules-480e959347ac5903d9c0b659376db139792eb44b.tar.xz
hercules-480e959347ac5903d9c0b659376db139792eb44b.zip
Rewrite client interface for login server (part 1)
Rewritten incoming/outgoing packet handlers to use structs instead of manipulating the WFIFO buffer bytes directly Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/login/login.h')
-rw-r--r--src/login/login.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/login.h b/src/login/login.h
index 1aca47c85..0676aee1f 100644
--- a/src/login/login.h
+++ b/src/login/login.h
@@ -196,11 +196,11 @@ struct login_interface {
bool (*fromchar_parse_wrong_pincode) (int fd);
void (*fromchar_parse_accinfo) (int fd);
int (*parse_fromchar) (int fd);
- void (*connection_problem) (int fd, uint8 status);
+ void (*connection_problem) (int fd, uint8 error);
void (*kick) (struct login_session_data* sd);
void (*auth_ok) (struct login_session_data* sd);
void (*auth_failed) (struct login_session_data* sd, int result);
- void (*login_error) (int fd, uint8 status);
+ void (*login_error) (int fd, uint8 error);
void (*parse_ping) (int fd, struct login_session_data* sd);
void (*parse_client_md5) (int fd, struct login_session_data* sd);
bool (*parse_client_login) (int fd, struct login_session_data* sd, const char *ip);