summaryrefslogtreecommitdiff
path: root/src/login/login.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/login.h')
-rw-r--r--src/login/login.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/login/login.h b/src/login/login.h
index 3af54ef50..b846e2bb7 100644
--- a/src/login/login.h
+++ b/src/login/login.h
@@ -157,6 +157,10 @@ struct online_login_data {
#define MAX_SERVERS 30
+struct s_login_dbs {
+ struct mmo_char_server server[MAX_SERVERS];
+};
+
/**
* Login.c Interface
**/
@@ -166,6 +170,7 @@ struct login_interface {
int fd;
struct Login_Config *config;
struct AccountDB* accounts;
+ struct s_login_dbs *dbs;
int (*mmo_auth) (struct login_session_data* sd, bool isServer);
int (*mmo_auth_new) (const char* userid, const char* pass, const char sex, const char* last_ip);
@@ -235,8 +240,6 @@ struct login_interface {
};
#ifdef HERCULES_CORE
-extern struct mmo_char_server server[MAX_SERVERS];
-
void login_defaults(void);
#endif // HERCULES_CORE