| 35 | static xmlNode *find_rsc_op_entry_helper(resource_t * rsc, const char *key, gboolean include_disabled); |
| 36 | |
| 37 | node_t * |
| 38 | node_copy(node_t * this_node) |
| 39 | { |
| 40 | node_t *new_node = NULL; |
| 41 | |
| 42 | CRM_CHECK(this_node != NULL, return NULL); |
| 43 | |
| 44 | new_node = calloc(1, sizeof(node_t)); |
| 45 | CRM_ASSERT(new_node != NULL); |
| 46 | |
| 47 | crm_trace("Copying %p (%s) to %p", this_node, this_node->details->uname, new_node); |
| 48 | |
| 49 | new_node->weight = this_node->weight; |
| 50 | new_node->fixed = this_node->fixed; |
| 51 | new_node->details = this_node->details; |
| 52 | |
| 53 | return new_node; |
| 54 | } |
| 55 | |
| 56 | /* any node in list1 or list2 and not in the other gets a score of -INFINITY */ |
| 57 | void |
no outgoing calls
no test coverage detected