rem: module->state = MOD_LOADED; break;
add: module->state = MODULE_LOADED;
context: init_module(module *module){	int res = 0;			switch(module->state) {		case MOD_QUERIED:		case MOD_LOADED:			module->state = MOD_INIT;				SHOW_FLOW( 3, "initing module %s... \n", module->name );			res = module->ptr->std_ops(B_MODULE_INIT);			SHOW_FLOW(3, "...done (%s)\n", strerror(res));			if (!res ) 				module->state = MOD_RDY;			else				module->state = MOD_LOADED;			break;		case MOD_RDY:				res = B_NO_ERROR;			break;				case MOD_INIT:			SHOW_ERROR( 0, "circular reference to %s\n", module->name );			res = B_ERROR;			break;				case MOD_UNINIT:			SHOW_ERROR( 0, "tried to load module %s which is currently unloading\n", module->name );			res = B_ERROR;			break;		case MOD_ERROR:			SHOW_INFO( 0, "cannot load module %s because its earlier unloading failed\n", module->name );			res = B_ERROR;			break;				default:			res = B_ERROR;	}		return res;}