| 1085 | } |
| 1086 | |
| 1087 | static void runtime_result_rejected(cbm_daemon_runtime_connect_result_t *result, |
| 1088 | const char *message) { |
| 1089 | memset(result, 0, sizeof(*result)); |
| 1090 | result->status = CBM_DAEMON_RUNTIME_CONNECT_REJECTED; |
| 1091 | result->hello_status = CBM_DAEMON_HELLO_INVALID; |
| 1092 | result->conflict.status = CBM_DAEMON_HELLO_INVALID; |
| 1093 | (void)snprintf(result->message, sizeof(result->message), "%s", message); |
| 1094 | } |
| 1095 | |
| 1096 | static void runtime_service_begin_stopping_locked(cbm_daemon_runtime_service_t *service, |
| 1097 | uint64_t deadline, bool emergency, |
no outgoing calls
no test coverage detected