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

Function hash2metafield

lib/common/xml.c:1882–1898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1880}
1881
1882void
1883hash2metafield(gpointer key, gpointer value, gpointer user_data)
1884{
1885 char *crm_name = NULL;
1886
1887 if(key == NULL || value == NULL) {
1888 return;
1889 } else if(((char*)key)[0] == '#') {
1890 return;
1891 } else if(strstr(key, ":")) {
1892 return;
1893 }
1894
1895 crm_name = crm_meta_name(key);
1896 hash2field(crm_name, value, user_data);
1897 free(crm_name);
1898}
1899
1900
1901GHashTable *

Callers

nothing calls this directly

Calls 2

crm_meta_nameFunction · 0.85
hash2fieldFunction · 0.85

Tested by

no test coverage detected