feat(ha-config-bootstrap): extract cluster_open_listener, reorder startup before election (task 3.2)

This commit is contained in:
Rongsong Shen 2026-05-28 05:03:50 +00:00
parent 0a881804a0
commit 6272fc8eb2
4 changed files with 94 additions and 28 deletions

View file

@ -23,6 +23,7 @@ typedef int (*collect_check_fn_t)(void*);
extern int check_controller(void*);
extern int cluster_init_phase1(cluster_t*);
extern int cluster_open_listener(cluster_t*);
extern int cluster_init_phase2(cluster_t*);
extern int cluster_init(cluster_t*);
extern int cluster_start(cluster_t*);