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

Function crm_meta_value

lib/common/utils.c:1517–1530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1515}
1516
1517const char *
1518crm_meta_value(GHashTable * hash, const char *field)
1519{
1520 char *key = NULL;
1521 const char *value = NULL;
1522
1523 key = crm_meta_name(field);
1524 if (key) {
1525 value = g_hash_table_lookup(hash, key);
1526 free(key);
1527 }
1528
1529 return value;
1530}
1531
1532static struct crm_option *crm_long_options = NULL;
1533static const char *crm_app_description = NULL;

Callers 9

exec_rsc_actionFunction · 0.85
create_operation_updateFunction · 0.85
match_graph_eventFunction · 0.85
te_fence_nodeFunction · 0.85
get_target_rcFunction · 0.85
te_crm_commandFunction · 0.85
te_rsc_commandFunction · 0.85
construct_opFunction · 0.85
tengine_stonith_callbackFunction · 0.85

Calls 1

crm_meta_nameFunction · 0.85

Tested by

no test coverage detected