| 126 | } artifact_file_error_t; |
| 127 | |
| 128 | static void file_error_clear(artifact_file_error_t *out) { |
| 129 | if (out) { |
| 130 | out->err = NULL; |
| 131 | out->err_no = 0; |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | static void file_error_set(artifact_file_error_t *out, const char *err, int err_no) { |
| 136 | if (out) { |