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

Function application_jsonrpc_success

src/daemon/application.c:2456–2463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2454}
2455
2456static bool application_jsonrpc_success(const char *response) {
2457 yyjson_doc *document = response ? yyjson_read(response, strlen(response), 0) : NULL;
2458 yyjson_val *root = document ? yyjson_doc_get_root(document) : NULL;
2459 bool success = yyjson_is_obj(root) && yyjson_obj_get(root, "result") != NULL &&
2460 yyjson_obj_get(root, "error") == NULL;
2461 yyjson_doc_free(document);
2462 return success;
2463}
2464
2465static void application_update_notice_inject(cbm_daemon_application_session_t *session,
2466 char **response_io) {

Callers 1

application_mcp_requestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected