Public entry: run the extraction and journal completion. The DONE mark on * every ordinary return (including error/timeout results) tells the crash * supervisor this file did NOT kill the worker — only a file whose S has no * D is a crash/hang suspect. */
| 1154 | * supervisor this file did NOT kill the worker — only a file whose S has no |
| 1155 | * D is a crash/hang suspect. */ |
| 1156 | CBMFileResult *cbm_extract_file(const char *source, int source_len, CBMLanguage language, |
| 1157 | const char *project, const char *rel_path, int64_t timeout_micros, |
| 1158 | const char **extra_defines, const char **include_paths) { |
| 1159 | CBMFileResult *r = |
| 1160 | cbm_extract_file_ex(source, source_len, language, project, rel_path, timeout_micros, |
| 1161 | extra_defines, include_paths, NULL, NULL); |
| 1162 | return r; |
| 1163 | } |
| 1164 | |
| 1165 | CBMFileResult *cbm_extract_file_ex(const char *source, int source_len, CBMLanguage language, |
| 1166 | const char *project, const char *rel_path, |