// Initialize and load Meka database bool DB_Init(const char* filename, bool verbose) { DB.entries = NULL; DB.entries_counter_format_old = 0; DB.entries_counter_format_new = 0; DB.current_entry = NULL; return DB_Load(filename, verbose); }
//----------------------------------------------------------------------------- // DB_Init (void) // Initialize Meka DB system //----------------------------------------------------------------------------- void DB_Init (void) { DB.entries = NULL; DB.entries_counter_format_old = 0; DB.entries_counter_format_new = 0; DB_CurrentEntry = NULL; DB_Load (g_Env.Paths.DataBaseFile); }