#include <system_defs.h>
MINIBASE_DB is a macro which is defined as :
#define MINIBASE_DB (minibase_globals->GlobalDB)
It's a global pointer to object of type DB. It is initialized in main.cpp and you can use it to allocate/deallocate/read/write pages for your buffer manager. You can also use it to add/delete/get file entry.