|
1 | 1 | /* |
2 | | - * Copyright 2013-2024 the Pacemaker project contributors |
| 2 | + * Copyright 2013-2025 the Pacemaker project contributors |
3 | 3 | * |
4 | 4 | * The version control history for this file may have further details. |
5 | 5 | * |
@@ -81,7 +81,7 @@ attrd_peer_message(pcmk__node_status_t *peer, xmlNode *xml) |
81 | 81 | * response so the originating peer knows what they're a confirmation |
82 | 82 | * for. |
83 | 83 | */ |
84 | | - crm_element_value_int(xml, PCMK__XA_CALL_ID, &callid); |
| 84 | + pcmk__xe_get_int(xml, PCMK__XA_CALL_ID, &callid); |
85 | 85 | reply = attrd_confirmation(callid); |
86 | 86 |
|
87 | 87 | /* And then send the confirmation back to the originating peer. This |
@@ -243,7 +243,7 @@ update_attr_on_host(attribute_t *a, const pcmk__node_status_t *peer, |
243 | 243 | } |
244 | 244 |
|
245 | 245 | // If value is for a Pacemaker Remote node, remember that |
246 | | - crm_element_value_int(xml, PCMK__XA_ATTR_IS_REMOTE, &is_remote); |
| 246 | + pcmk__xe_get_int(xml, PCMK__XA_ATTR_IS_REMOTE, &is_remote); |
247 | 247 | if (is_remote) { |
248 | 248 | attrd_set_value_flags(v, attrd_value_remote); |
249 | 249 | pcmk__assert(pcmk__cluster_lookup_remote_node(host) != NULL); |
@@ -299,8 +299,7 @@ update_attr_on_host(attribute_t *a, const pcmk__node_status_t *peer, |
299 | 299 | } else { |
300 | 300 | int is_force_write = 0; |
301 | 301 |
|
302 | | - crm_element_value_int(xml, PCMK__XA_ATTRD_IS_FORCE_WRITE, |
303 | | - &is_force_write); |
| 302 | + pcmk__xe_get_int(xml, PCMK__XA_ATTRD_IS_FORCE_WRITE, &is_force_write); |
304 | 303 |
|
305 | 304 | if (is_force_write == 1 && a->timeout_ms && a->timer) { |
306 | 305 | /* Save forced writing and set change flag. */ |
|
0 commit comments