/* * Initialize a new mobicore API instance object * * @return Instance or NULL if no allocation was possible. */ struct mc_instance *mobicore_open(void) { struct mc_instance *instance = mc_alloc_instance(); if (instance) instance->admin = true; return instance; }
/** * Initialize a new mobicore API instance object * * @return Instance or NULL if no allocation was possible. */ struct mc_instance *mobicore_open(void) { return mc_alloc_instance(); }