librazor/razor-internal.h
changeset 397 4efbc922dc87
parent 377 5549419824b4
child 403 e63951c1d0f8
     1.1 --- a/librazor/razor-internal.h	Wed Jul 08 22:14:16 2009 +0100
     1.2 +++ b/librazor/razor-internal.h	Wed Aug 24 15:17:06 2011 +0100
     1.3 @@ -119,6 +119,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;
     1.8  };
     1.9  
    1.10  struct import_entry {
    1.11 @@ -170,6 +171,9 @@
    1.12  	int post_order;
    1.13  };
    1.14  
    1.15 +int
    1.16 +razor_set_aquire_lock(struct razor_set *set, const char *path, int exclusive);
    1.17 +
    1.18  struct razor_entry *
    1.19  razor_set_find_entry(struct razor_set *set,
    1.20  		     struct razor_entry *dir, const char *pattern);