Motr  M0
m0_net_test_service_ops Struct Reference

#include <service.h>

Collaboration diagram for m0_net_test_service_ops:
Collaboration graph

Data Fields

void *(* ntso_init )(struct m0_net_test_service *svc)
 
void(* ntso_fini )(void *ctx)
 
int(* ntso_step )(void *ctx)
 
struct m0_net_test_service_cmd_handlerntso_cmd_handler
 
size_t ntso_cmd_handler_nr
 

Detailed Description

Service operations

Definition at line 74 of file service.h.

Field Documentation

◆ ntso_cmd_handler

struct m0_net_test_service_cmd_handler* ntso_cmd_handler

Command handlers.

Definition at line 82 of file service.h.

◆ ntso_cmd_handler_nr

size_t ntso_cmd_handler_nr

Number of command handlers.

Definition at line 84 of file service.h.

◆ ntso_fini

void(* ntso_fini) (void *ctx)

Service finalizer.

Definition at line 78 of file service.h.

◆ ntso_init

void*(* ntso_init) (struct m0_net_test_service *svc)

Service initializer. Returns NULL on failure.

Definition at line 76 of file service.h.

◆ ntso_step

int(* ntso_step) (void *ctx)

Take on step. Executed if no commands received.

Definition at line 80 of file service.h.


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