MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / node_hash_dup

Function node_hash_dup

pengine/native.c:309–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309static GHashTable *
310node_hash_dup(GHashTable * hash)
311{
312 /* Hack! */
313 GListPtr list = g_hash_table_get_values(hash);
314 GHashTable *result = node_hash_from_list(list);
315
316 g_list_free(list);
317 return result;
318}
319
320GHashTable *
321native_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, const char *attr,

Callers 3

rsc_merge_weightsFunction · 0.85
native_colorFunction · 0.85
colocation_matchFunction · 0.85

Calls 2

g_hash_table_get_valuesFunction · 0.85
node_hash_from_listFunction · 0.85

Tested by

no test coverage detected