summaryrefslogtreecommitdiff
path: root/src/login/lclif.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:41:53 +0200
commit75557000f11741217adbcd0c1cebf45c661da1c4 (patch)
treec4e6d92f896772edc58ea40f2fdf3270a26b4025 /src/login/lclif.h
parentceef84e730a89b9ff462862bba66e2da1c25617e (diff)
downloadhercules-75557000f11741217adbcd0c1cebf45c661da1c4.tar.gz
hercules-75557000f11741217adbcd0c1cebf45c661da1c4.tar.bz2
hercules-75557000f11741217adbcd0c1cebf45c661da1c4.tar.xz
hercules-75557000f11741217adbcd0c1cebf45c661da1c4.zip
Rewrite client interface for login server (part 7)
Added private interface in lclif.p.h Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/login/lclif.h')
-rw-r--r--src/login/lclif.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/login/lclif.h b/src/login/lclif.h
index b6dac5d35..cf6314fc8 100644
--- a/src/login/lclif.h
+++ b/src/login/lclif.h
@@ -24,6 +24,7 @@
/* Forward Declarations */
struct login_session_data;
+struct lclif_interface_private;
/* Enums */
/// Parse function return code
@@ -47,6 +48,8 @@ struct login_packet_db {
};
struct lclif_interface {
+ struct lclif_interface_private *p; ///< Private interface
+
void (*init)(void);
void (*final)(void);
@@ -58,7 +61,6 @@ struct lclif_interface {
const struct login_packet_db *(*packet)(int16 packet_id);
enum parsefunc_rcode (*parse_packet)(const struct login_packet_db *lpd, int fd, struct login_session_data *sd);
int (*parse)(int fd);
- enum parsefunc_rcode (*parse_sub)(int fd, struct login_session_data *sd);
};
#ifdef HERCULES_CORE