Loading...
Searching...
No Matches
spdk_subsystem Struct Reference

Public Member Functions

 TAILQ_ENTRY (spdk_subsystem) tailq
 

Data Fields

const char * name
 
void(* init )(void)
 Optional.
 
void(* fini )(void)
 Optional.
 
void(* write_config_json )(struct spdk_json_write_ctx *w)
 Optional.
 

Field Documentation

◆ fini

void(* spdk_subsystem::fini) (void)

Optional.

Tear down the subsystem. When complete, the subsystem must call spdk_subsystem_fini_next(). If NULL, the subsystem is skipped during teardown.

◆ init

void(* spdk_subsystem::init) (void)

Optional.

Initialize the subsystem. When complete, the subsystem must call spdk_subsystem_init_next() with 0 on success or a negative errno on failure. If NULL, the subsystem is considered initialized with no work to do.

◆ write_config_json

void(* spdk_subsystem::write_config_json) (struct spdk_json_write_ctx *w)

Optional.

Write the subsystem's current JSON-RPC configuration to w. If NULL, a JSON null is written in place of the subsystem's configuration.

Parameters
wJSON write context.

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