summaryrefslogtreecommitdiff
path: root/src/login/login.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-11 20:11:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-11 23:17:11 +0300
commitec38bdbbed042537eb171eaf4436d7b250ab6766 (patch)
treea56a797b58da6fd117d3dc9944c99534a08a7465 /src/login/login.h
parentfe6599de91dbab781e37fbded66cfecb685041cf (diff)
downloadhercules-ec38bdbbed042537eb171eaf4436d7b250ab6766.tar.gz
hercules-ec38bdbbed042537eb171eaf4436d7b250ab6766.tar.bz2
hercules-ec38bdbbed042537eb171eaf4436d7b250ab6766.tar.xz
hercules-ec38bdbbed042537eb171eaf4436d7b250ab6766.zip
add AccountDB into login interface.
Diffstat (limited to 'src/login/login.h')
-rw-r--r--src/login/login.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/login.h b/src/login/login.h
index 1dd402291..f86abaf4b 100644
--- a/src/login/login.h
+++ b/src/login/login.h
@@ -9,6 +9,7 @@
#include "../common/mmo.h" // NAME_LENGTH,SEX_*
struct mmo_account;
+struct AccountDB;
enum E_LOGINSERVER_ST
{
@@ -140,6 +141,7 @@ struct login_interface {
DBMap* online_db;
int fd;
struct Login_Config *lc;
+ struct AccountDB* accounts;
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);