MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / config_new_cache

Function config_new_cache

modules/config/config.c:484–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484static gen_hash_t *config_new_cache(void)
485{
486 gen_hash_t *new = hash_init_flags(config_hash_size,
487 (config_rpm_enable?HASH_MAP_PERSIST:HASH_MAP_SHARED));
488 if (!new) {
489 LM_ERR("could not add new cache\n");
490 return NULL;
491 }
492 return new;
493}
494
495static int config_push_val(gen_hash_t *hash, str *name, str *val, str *desc, int update)
496{

Callers 1

load_config_hashFunction · 0.85

Calls 1

hash_init_flagsFunction · 0.85

Tested by

no test coverage detected