11 #ifndef TOR_SUBSYSMGR_T
12 #define TOR_SUBSYSMGR_T
17 extern const unsigned n_tor_subsystems;
struct pubsub_builder_t pubsub_builder_t
Types used to declare a subsystem.
int subsystems_set_options(const config_mgr_t *mgr, struct or_options_t *options)
int subsystems_set_state(const config_mgr_t *mgr, struct or_state_t *state)
int subsystems_flush_state(const config_mgr_t *mgr, struct or_state_t *state)
void subsystems_prefork(void)
void subsystems_shutdown_downto(int level)
const struct subsys_fns_t * tor_subsystems[]
int subsystems_register_state_formats(struct config_mgr_t *mgr)
int subsystems_register_options_formats(struct config_mgr_t *mgr)
int subsystems_add_pubsub_upto(struct pubsub_builder_t *builder, int target_level)
void subsystems_shutdown(void)
void subsystems_postfork(void)
int subsystems_add_pubsub(struct pubsub_builder_t *builder)
void subsystems_dump_list(void)
int subsystems_init_upto(int level)
int subsystems_init(void)
void subsystems_thread_cleanup(void)