| 1192 | } |
| 1193 | |
| 1194 | static bool runtime_send_hello_response(cbm_daemon_ipc_connection_t *connection, |
| 1195 | const cbm_daemon_runtime_connect_result_t *result) { |
| 1196 | uint8_t payload[CBM_DAEMON_RENDEZVOUS_RESPONSE_SIZE]; |
| 1197 | return runtime_hello_response_encode(payload, result) && |
| 1198 | cbm_daemon_ipc_send_frame(connection, CBM_DAEMON_FRAME_RESPONSE, |
| 1199 | CBM_DAEMON_RUNTIME_OP_HELLO, payload, |
| 1200 | (uint32_t)sizeof(payload)); |
| 1201 | } |
| 1202 | |
| 1203 | static bool runtime_worker_send_frame(cbm_daemon_runtime_worker_t *worker, |
| 1204 | cbm_daemon_frame_type_t type, |
no test coverage detected