diff -r 5549419824b4 -r afe520f454bd librazor/razor-internal.h --- a/librazor/razor-internal.h Wed Jul 08 22:14:16 2009 +0100 +++ b/librazor/razor-internal.h Fri Apr 23 21:07:15 2010 +0100 @@ -119,6 +119,7 @@ struct array file_string_pool; struct array details_string_pool; struct razor_mapped_file *mapped_files; + int lock_fd; }; struct import_entry { @@ -170,6 +171,9 @@ int post_order; }; +int +razor_set_aquire_lock(struct razor_set *set, const char *path, int exclusive); + struct razor_entry * razor_set_find_entry(struct razor_set *set, struct razor_entry *dir, const char *pattern);