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

Function runtime_worker_send_status

src/daemon/runtime.c:1002–1008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1000}
1001
1002static bool runtime_worker_send_status(cbm_daemon_runtime_worker_t *worker,
1003 cbm_daemon_runtime_operation_t operation, bool success) {
1004 uint8_t payload[STATUS_RESPONSE_SIZE];
1005 runtime_put_u32(payload, success ? 1U : 0U);
1006 return runtime_worker_send_frame(worker, CBM_DAEMON_FRAME_RESPONSE, operation, payload,
1007 (uint32_t)sizeof(payload));
1008}
1009
1010static bool runtime_application_status_is_callback_result(
1011 cbm_daemon_runtime_application_status_t status) {

Calls 2

runtime_put_u32Function · 0.85

Tested by

no test coverage detected