Motr  M0
m0_reqh_service_type_ops Struct Reference

#include <reqh_service.h>

Collaboration diagram for m0_reqh_service_type_ops:
Collaboration graph

Data Fields

int(* rsto_service_allocate )(struct m0_reqh_service **service, const struct m0_reqh_service_type *stype)
 

Detailed Description

Service type operations vector.

Definition at line 423 of file reqh_service.h.

Field Documentation

◆ rsto_service_allocate

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.

Parameters
serviceResulted service.
stypeType of service being allocated.

Definition at line 435 of file reqh_service.h.


The documentation for this struct was generated from the following file: