diff -r 5a49f274ab2d -r c89e5edb8eae librazor/razor-internal.h --- a/librazor/razor-internal.h Tue Jun 05 11:07:53 2018 +0100 +++ b/librazor/razor-internal.h Thu Jun 07 18:36:20 2018 +0100 @@ -125,7 +125,7 @@ struct array file_string_pool; struct array details_string_pool; struct razor_mapped_file *mapped_files; - int lock_fd, ref_count; + int lock, ref_count; enum razor_set_flags flags; }; @@ -184,7 +184,8 @@ }; int -razor_set_acquire_lock(struct razor_set *set, const char *path, int exclusive); +razor_set_acquire_lock(struct razor_set *set, const char *path, int exclusive, + struct razor_error **error); struct razor_entry * razor_set_find_entry(struct razor_set *set, @@ -315,6 +316,7 @@ if (error) \ *(error) = razor_error_new_str(domain, code, object, str); \ else +void razor_error_set_object(struct razor_error *error, const char *object); #ifdef MSWIN_API struct razor_error *razor_error_new_mswin(const wchar_t *object, DWORD error);