| 110 | static _Noreturn void host_force_terminate(const char *component); |
| 111 | |
| 112 | static void host_log_sink(const char *line) { |
| 113 | cbm_ui_log_append(line); |
| 114 | if (!g_host_log_file || !g_host_log_mutex_initialized) { |
| 115 | return; |
| 116 | } |
| 117 | cbm_mutex_lock(&g_host_log_mutex); |
| 118 | (void)fprintf(g_host_log_file, "%s\n", line ? line : ""); |
| 119 | (void)fflush(g_host_log_file); |
| 120 | cbm_mutex_unlock(&g_host_log_mutex); |
| 121 | } |
| 122 | |
| 123 | static bool host_log_open(char conflict_log_out[HOST_PATH_CAP]) { |
| 124 | const char *cache = cbm_resolve_cache_dir(); |
nothing calls this directly
no test coverage detected