| 968 | } |
| 969 | |
| 970 | static bool runtime_send_hello_response(cbm_daemon_ipc_connection_t *connection, |
| 971 | const cbm_daemon_runtime_connect_result_t *result) { |
| 972 | uint8_t payload[CBM_DAEMON_RENDEZVOUS_RESPONSE_SIZE]; |
| 973 | return runtime_hello_response_encode(payload, result) && |
| 974 | cbm_daemon_ipc_send_frame(connection, CBM_DAEMON_FRAME_RESPONSE, |
| 975 | CBM_DAEMON_RUNTIME_OP_HELLO, payload, |
| 976 | (uint32_t)sizeof(payload)); |
| 977 | } |
| 978 | |
| 979 | static bool runtime_worker_send_frame(cbm_daemon_runtime_worker_t *worker, |
| 980 | cbm_daemon_frame_type_t type, |
no test coverage detected