summaryrefslogtreecommitdiff
path: root/src/login/account.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-26 15:59:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-07 11:16:02 +0300
commitb623af001d219e1a8c7bde80982007c9a2e93808 (patch)
tree79a2ae4374f6efd4e62f4505e81b3ea63b80aa39 /src/login/account.h
parent653274de31a643d9aa910cc598b3671dfe85bbf4 (diff)
downloadhercules-b623af001d219e1a8c7bde80982007c9a2e93808.tar.gz
hercules-b623af001d219e1a8c7bde80982007c9a2e93808.tar.bz2
hercules-b623af001d219e1a8c7bde80982007c9a2e93808.tar.xz
hercules-b623af001d219e1a8c7bde80982007c9a2e93808.zip
Move global variables to interfaces in login.c
Diffstat (limited to 'src/login/account.h')
-rw-r--r--src/login/account.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/login/account.h b/src/login/account.h
index e15143ce9..fb7368d69 100644
--- a/src/login/account.h
+++ b/src/login/account.h
@@ -52,6 +52,10 @@ struct AccountDBIterator
bool (*next)(AccountDBIterator* self, struct mmo_account* acc);
};
+struct Account_engine {
+ AccountDB* (*constructor)(void);
+ AccountDB* db;
+};
struct AccountDB
{