| 976 | } |
| 977 | |
| 978 | static bool runtime_send_hello_response(cbm_daemon_ipc_connection_t *connection, |
| 979 | const cbm_daemon_runtime_connect_result_t *result) { |
| 980 | uint8_t payload[CBM_DAEMON_RENDEZVOUS_RESPONSE_SIZE]; |
| 981 | return runtime_hello_response_encode(payload, result) && |
| 982 | cbm_daemon_ipc_send_frame(connection, CBM_DAEMON_FRAME_RESPONSE, |
| 983 | CBM_DAEMON_RUNTIME_OP_HELLO, payload, |
| 984 | (uint32_t)sizeof(payload)); |
| 985 | } |
| 986 | |
| 987 | static bool runtime_worker_send_frame(cbm_daemon_runtime_worker_t *worker, |
| 988 | cbm_daemon_frame_type_t type, |
no test coverage detected