#include #include #include #include #include #include #include #include #include static quorum_handle_t g_handle; static void quorum_notification_fn( quorum_handle_t handle, uint32_t quorate, uint64_t ring_id, uint32_t view_list_entries, uint32_t *view_list) { int i; printf("quorum notification called \n"); printf(" quorate = %lu\n", (long unsigned int) quorate); printf(" ring id = " CS_PRI_RING_ID_SEQ "\n", ring_id); printf(" num nodes = %lu ", (long unsigned int) view_list_entries); for (i=0; i