librazor/razor-internal.h
changeset 500 f98d77376544
parent 498 5a49f274ab2d
     1.1 --- a/librazor/razor-internal.h	Tue Jun 05 11:07:53 2018 +0100
     1.2 +++ b/librazor/razor-internal.h	Fri Jun 08 18:02:33 2018 +0100
     1.3 @@ -125,7 +125,7 @@
     1.4  	struct array file_string_pool;
     1.5  	struct array details_string_pool;
     1.6  	struct razor_mapped_file *mapped_files;
     1.7 -	int lock_fd, ref_count;
     1.8 +	int lock, ref_count;
     1.9  	enum razor_set_flags flags;
    1.10  };
    1.11  
    1.12 @@ -184,7 +184,8 @@
    1.13  };
    1.14  
    1.15  int
    1.16 -razor_set_acquire_lock(struct razor_set *set, const char *path, int exclusive);
    1.17 +razor_set_acquire_lock(struct razor_set *set, const char *path, int exclusive,
    1.18 +		       struct razor_error **error);
    1.19  
    1.20  struct razor_entry *
    1.21  razor_set_find_entry(struct razor_set *set,
    1.22 @@ -315,6 +316,7 @@
    1.23  	if (error) \
    1.24  		*(error) = razor_error_new_str(domain, code, object, str); \
    1.25  	else
    1.26 +void razor_error_set_object(struct razor_error *error, const char *object);
    1.27  
    1.28  #ifdef MSWIN_API
    1.29  struct razor_error *razor_error_new_mswin(const wchar_t *object, DWORD error);