| 1046 | } |
| 1047 | |
| 1048 | static void runtime_result_rejected(cbm_daemon_runtime_connect_result_t *result, |
| 1049 | const char *message) { |
| 1050 | memset(result, 0, sizeof(*result)); |
| 1051 | result->status = CBM_DAEMON_RUNTIME_CONNECT_REJECTED; |
| 1052 | result->hello_status = CBM_DAEMON_HELLO_INVALID; |
| 1053 | result->conflict.status = CBM_DAEMON_HELLO_INVALID; |
| 1054 | (void)snprintf(result->message, sizeof(result->message), "%s", message); |
| 1055 | } |
| 1056 | |
| 1057 | static void runtime_service_begin_stopping_locked(cbm_daemon_runtime_service_t *service, |
| 1058 | uint64_t deadline, bool emergency, |
no outgoing calls
no test coverage detected