new_graph 94 lib/transition/unpack.c unpack_synapse(crm_graph_t * new_graph, xmlNode * xml_synapse) new_graph 115 lib/transition/unpack.c new_graph->num_synapses++; new_graph 132 lib/transition/unpack.c new_graph->num_actions++; new_graph 184 lib/transition/unpack.c crm_graph_t *new_graph = NULL; new_graph 189 lib/transition/unpack.c new_graph = calloc(1, sizeof(crm_graph_t)); new_graph 191 lib/transition/unpack.c new_graph->id = -1; new_graph 192 lib/transition/unpack.c new_graph->abort_priority = 0; new_graph 193 lib/transition/unpack.c new_graph->network_delay = -1; new_graph 194 lib/transition/unpack.c new_graph->transition_timeout = -1; new_graph 195 lib/transition/unpack.c new_graph->stonith_timeout = -1; new_graph 196 lib/transition/unpack.c new_graph->completion_action = tg_done; new_graph 199 lib/transition/unpack.c new_graph->source = strdup(reference); new_graph 201 lib/transition/unpack.c new_graph->source = strdup("unknown"); new_graph 206 lib/transition/unpack.c CRM_CHECK(t_id != NULL, free(new_graph); new_graph 208 lib/transition/unpack.c new_graph->id = crm_parse_int(t_id, "-1"); new_graph 211 lib/transition/unpack.c CRM_CHECK(time != NULL, free(new_graph); new_graph 213 lib/transition/unpack.c new_graph->network_delay = crm_get_msec(time); new_graph 217 lib/transition/unpack.c new_graph->stonith_timeout = new_graph->network_delay; new_graph 219 lib/transition/unpack.c new_graph->stonith_timeout = crm_get_msec(time); new_graph 223 lib/transition/unpack.c new_graph->batch_limit = crm_parse_int(t_id, "0"); new_graph 226 lib/transition/unpack.c new_graph->migration_limit = crm_parse_int(t_id, "-1"); new_graph 231 lib/transition/unpack.c synapse_t *new_synapse = unpack_synapse(new_graph, synapse); new_graph 234 lib/transition/unpack.c new_graph->synapses = g_list_append(new_graph->synapses, new_synapse); new_graph 240 lib/transition/unpack.c new_graph->id, new_graph->num_actions, new_graph->num_synapses); new_graph 242 lib/transition/unpack.c return new_graph;