35 for (GList *refs = ((
pcmk_tag_t *) value)->refs; refs; refs = refs->next) {
36 const char *
id = (
const char *) refs->data;
68 for (GList *refs = ((
pcmk_tag_t *) value)->refs; refs; refs = refs->next) {
70 const char *
id = (
const char *) refs->data;
78 retval = g_list_append(retval, strdup(node->
details->
uname));
95 retval = g_list_find_custom(rscs, rsc_name, (GCompareFunc) strcmp) != NULL;
96 g_list_free_full(rscs, free);
102 const char *tag_name)
107 if (unames == NULL) {
111 retval = g_list_find_custom(unames, node_name, (GCompareFunc) strcmp) != NULL;
112 g_list_free_full(unames, free);
pcmk_scheduler_t * scheduler
@ pcmk_rsc_match_basename
Match clone instances (even unique) by base name as well as exact ID.
@ pcmk_rsc_match_history
Also match clone instance ID from resource history.
pcmk_node_t * pe_find_node_id(const GList *node_list, const char *id)
Find a node by ID in a list of nodes.
const char * rsc_printable_id(const pcmk_resource_t *rsc)
pcmk_resource_t * pe_find_resource_with_flags(GList *rsc_list, const char *id, enum pe_find flags)
struct pe_node_shared_s * details