Motr
M0
|
#include <module.h>
Data Fields | |
const char * | mt_name |
struct m0_module *(* | mt_create )(struct m0 *instance) |
Allocates and configures a module.
Usually an ambient structure is allocated, which m0_module is embedded into. Then module levels are assigned and dependencies added. Module-specific data (e.g., the address of module) may be stored in m0::i_moddata[] or m0::i_lockers.
const char* mt_name |