| 1007 | } |
| 1008 | |
| 1009 | static bool runtime_send_hello_response(cbm_daemon_ipc_connection_t *connection, |
| 1010 | const cbm_daemon_runtime_connect_result_t *result) { |
| 1011 | uint8_t payload[CBM_DAEMON_RENDEZVOUS_RESPONSE_SIZE]; |
| 1012 | return runtime_hello_response_encode(payload, result) && |
| 1013 | cbm_daemon_ipc_send_frame(connection, CBM_DAEMON_FRAME_RESPONSE, |
| 1014 | CBM_DAEMON_RUNTIME_OP_HELLO, payload, |
| 1015 | (uint32_t)sizeof(payload)); |
| 1016 | } |
| 1017 | |
| 1018 | static bool runtime_worker_send_frame(cbm_daemon_runtime_worker_t *worker, |
| 1019 | cbm_daemon_frame_type_t type, |
no test coverage detected