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

Function host_http_test_server_free

src/daemon/host.c:706–712  ·  view source on GitHub ↗

WHY: See host_http_test_server_stop; changing only this implementation to a * pointer-to-const parameter would make it incompatible with host_http_ops_t. */ cppcheck-suppress constParameterCallback

Source from the content-addressed store, hash-verified

704 * pointer-to-const parameter would make it incompatible with host_http_ops_t. */
705// cppcheck-suppress constParameterCallback
706static bool host_http_test_server_free(void *opaque, cbm_http_server_t *server) {
707 host_http_reconcile_test_context_t *context = opaque;
708 if (server) {
709 context->server_frees++;
710 }
711 return !server || context->server_frees > context->server_free_failures;
712}
713
714static int host_http_test_thread_start(void *opaque, cbm_thread_t *thread, void *(*entry)(void *),
715 void *entry_context) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected