1 /* Copyright (c) 2023, The Tor Project, Inc. */
2 /* See LICENSE for licensing information */
6 * \brief Register the conflux pool for early initialization.
9 #include "core/or/conflux_pool.h"
10 #include "core/or/conflux_sys.h"
12 #include "lib/subsys/subsys.h"
15 subsys_conflux_initialize(void)
22 subsys_conflux_shutdown(void)
24 /* The conflux pool free all must be called before the circuit free all and
25 * so we are not calling it from subsys shutdown. */
28 const subsys_fns_t sys_conflux
= {
29 SUBSYS_DECLARE_LOCATION(),
33 .level
= CONFLUX_SUBSYS_LEVEL
,
35 .initialize
= subsys_conflux_initialize
,
36 .shutdown
= subsys_conflux_shutdown
,