Motr
M0
|
#include <reqh_service.h>
Data Fields | |
int(* | rsto_service_allocate )(struct m0_reqh_service **service, const struct m0_reqh_service_type *stype) |
Service type operations vector.
Definition at line 423 of file reqh_service.h.
int(* rsto_service_allocate) (struct m0_reqh_service **service, const struct m0_reqh_service_type *stype) |
Allocates and initialises a service for the given service type. This also initialises the corresponding service operations vector. This is typically invoked during motr setup, but also can be invoked later, in order to configure a particular service. Once the service specific initialisation is done, generic m0_reqh_service_init() routine is invoked.
service | Resulted service. |
stype | Type of service being allocated. |
Definition at line 435 of file reqh_service.h.