| 1270 | } |
| 1271 | |
| 1272 | static void runtime_result_rejected(cbm_daemon_runtime_connect_result_t *result, |
| 1273 | const char *message) { |
| 1274 | memset(result, 0, sizeof(*result)); |
| 1275 | result->status = CBM_DAEMON_RUNTIME_CONNECT_REJECTED; |
| 1276 | result->hello_status = CBM_DAEMON_HELLO_INVALID; |
| 1277 | result->conflict.status = CBM_DAEMON_HELLO_INVALID; |
| 1278 | (void)snprintf(result->message, sizeof(result->message), "%s", message); |
| 1279 | } |
| 1280 | |
| 1281 | static void runtime_service_begin_stopping_locked(cbm_daemon_runtime_service_t *service, |
| 1282 | uint64_t deadline, bool emergency, |
no outgoing calls
no test coverage detected