new_synapse 99 lib/transition/unpack.c synapse_t *new_synapse = NULL; new_synapse 104 lib/transition/unpack.c new_synapse = calloc(1, sizeof(synapse_t)); new_synapse 105 lib/transition/unpack.c new_synapse->id = crm_parse_int(ID(xml_synapse), NULL); new_synapse 109 lib/transition/unpack.c new_synapse->priority = crm_parse_int(value, NULL); new_synapse 112 lib/transition/unpack.c CRM_CHECK(new_synapse->id >= 0, free(new_synapse); new_synapse 126 lib/transition/unpack.c crm_action_t *new_action = unpack_action(new_synapse, action); new_synapse 134 lib/transition/unpack.c crm_trace("Adding action %d to synapse %d", new_action->id, new_synapse->id); new_synapse 136 lib/transition/unpack.c new_synapse->actions = g_list_append(new_synapse->actions, new_action); new_synapse 152 lib/transition/unpack.c crm_action_t *new_input = unpack_action(new_synapse, input); new_synapse 158 lib/transition/unpack.c crm_trace("Adding input %d to synapse %d", new_input->id, new_synapse->id); new_synapse 160 lib/transition/unpack.c new_synapse->inputs = g_list_append(new_synapse->inputs, new_input); new_synapse 166 lib/transition/unpack.c return new_synapse; new_synapse 231 lib/transition/unpack.c synapse_t *new_synapse = unpack_synapse(new_graph, synapse); new_synapse 233 lib/transition/unpack.c if (new_synapse != NULL) { new_synapse 234 lib/transition/unpack.c new_graph->synapses = g_list_append(new_graph->synapses, new_synapse);