MCPcopy Create free account
hub / github.com/corosync/corosync / cmap_set_string

Function cmap_set_string

lib/cmap.c:497–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

495}
496
497cs_error_t cmap_set_string(cmap_handle_t handle, const char *key_name, const char *value)
498{
499
500 if (value == NULL) {
501 return (CS_ERR_INVALID_PARAM);
502 }
503
504 return (cmap_set(handle, key_name, value, strlen(value), CMAP_VALUETYPE_STRING));
505}
506
507cs_error_t cmap_delete(cmap_handle_t handle, const char *key_name)
508{

Callers 2

set_keyFunction · 0.85
sam_cmap_update_keyFunction · 0.85

Calls 1

cmap_setFunction · 0.85

Tested by

no test coverage detected