index b1300cd989437e4631d6e4a58b1c32941b5c3b6b..f9b704916d1e5420a9c65ac3a3bcfb9cbb62e134 100644 (file)
--- a/cache.h
+++ b/cache.h
/* Initialize and use the cache information */
extern int read_cache(void);
extern int write_cache(int newfd, struct cache_entry **cache, int entries);
+extern int verify_path(const char *path);
extern int cache_name_pos(const char *name, int namelen);
#define ADD_CACHE_OK_TO_ADD 1 /* Ok to add */
#define ADD_CACHE_OK_TO_REPLACE 2 /* Ok to replace file/directory */