From b623af001d219e1a8c7bde80982007c9a2e93808 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 26 Oct 2014 15:59:17 +0300 Subject: Move global variables to interfaces in login.c --- src/login/account.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/login/account.h') 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 { -- cgit v1.2.3-70-g09d2