static void show_all_nodes(int count, struct dlmc_node *nodes_in) { struct dlmc_node *n = nodes_in; int i; for (i = 0; i < count; i++) { printf("nodeid %d member %d failed %d start %d seq_add %u seq_rem %u check %s\n", n->nodeid, member_int(n), n->fail_reason, (n->flags & DLMC_NF_START) ? 1 : 0, n->added_seq, n->removed_seq, check_str(n)); n++; } }
static void show_all_nodes(int count, struct gfsc_node *nodes_in) { struct gfsc_node *n = nodes_in; int i; for (i = 0; i < count; i++) { printf("nodeid %d jid %d member %d failed %d start %d seq_add %u seq_rem %u mount %s\n", n->nodeid, n->jid, member_int(n), n->failed_reason, (n->flags & GFSC_NF_START) ? 1 : 0, n->added_seq, n->removed_seq, node_mount_str(n->flags)); n++; } }