| 1054 | } |
| 1055 | |
| 1056 | static void runtime_result_rejected(cbm_daemon_runtime_connect_result_t *result, |
| 1057 | const char *message) { |
| 1058 | memset(result, 0, sizeof(*result)); |
| 1059 | result->status = CBM_DAEMON_RUNTIME_CONNECT_REJECTED; |
| 1060 | result->hello_status = CBM_DAEMON_HELLO_INVALID; |
| 1061 | result->conflict.status = CBM_DAEMON_HELLO_INVALID; |
| 1062 | (void)snprintf(result->message, sizeof(result->message), "%s", message); |
| 1063 | } |
| 1064 | |
| 1065 | static void runtime_service_begin_stopping_locked(cbm_daemon_runtime_service_t *service, |
| 1066 | uint64_t deadline, bool emergency, |
no outgoing calls
no test coverage detected