MCPcopy Create free account
hub / github.com/corosync/corosync / close_all

Function close_all

tools/corosync-quorumtool.c:869–882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

867}
868
869static void close_all(void) {
870 if (cmap_handle) {
871 cmap_finalize(cmap_handle);
872 }
873 if (q_handle) {
874 quorum_finalize(q_handle);
875 }
876 if (c_handle) {
877 corosync_cfg_finalize(c_handle);
878 }
879 if (v_handle) {
880 votequorum_finalize(v_handle);
881 }
882}
883
884int main (int argc, char *argv[]) {
885 const char *options = "VHaslpmfe:v:hin:o:";

Callers 1

mainFunction · 0.85

Calls 4

cmap_finalizeFunction · 0.85
quorum_finalizeFunction · 0.85
corosync_cfg_finalizeFunction · 0.85
votequorum_finalizeFunction · 0.85

Tested by

no test coverage detected