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

Function host_http_test_config_load

src/daemon/host.c:668–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666} host_http_reconcile_test_context_t;
667
668static void host_http_test_config_load(void *opaque, cbm_ui_config_t *config_out) {
669 host_http_reconcile_test_context_t *context = opaque;
670 context->config_loads++;
671 config_out->ui_enabled = true;
672 bool change_port = context->config_change_after_load > 0 &&
673 context->config_loads == context->config_change_after_load;
674 config_out->ui_port = change_port ? CBM_UI_DEFAULT_PORT + 1 : CBM_UI_DEFAULT_PORT;
675}
676
677static cbm_http_server_t *host_http_test_server_new(void *opaque, int port) {
678 (void)port;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected