MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_config_close

Function cbm_config_close

src/cli/cli.c:7302–7310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7300}
7301
7302void cbm_config_close(cbm_config_t *cfg) {
7303 if (!cfg) {
7304 return;
7305 }
7306 if (cfg->db) {
7307 sqlite3_close(cfg->db);
7308 }
7309 free(cfg);
7310}
7311
7312const char *cbm_config_get(cbm_config_t *cfg, const char *key, const char *default_val) {
7313 static CBM_TLS char result_buf[CLI_BUF_4K];

Callers 10

cbm_cmd_configFunction · 0.85
handle_ui_configFunction · 0.85
host_state_freeFunction · 0.85
test_cli.cFile · 0.85
autoindex_limit_probeFunction · 0.85
test_httpd.cFile · 0.85

Calls

no outgoing calls