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. | |
| 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.
| 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.
| 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.
| w | JSON write context. |