]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/dircache.h
Protect dircache from duplicates
[netatalk.git] / etc / afpd / dircache.h
index 69c5f9abebd40ae197cecae82a60f4421d81ae98..16c2df1dbde26ab5d3d994d429172a98fa9bcc7a 100644 (file)
@@ -32,7 +32,7 @@
 #define DIRCACHE_ALL  (DIRCACHE|DIDNAME_INDEX|QUEUE_INDEX)
 
 extern int        dircache_init(int reqsize);
-extern int        dircache_add(struct dir *);
+extern int        dircache_add(const struct vol *, struct dir *);
 extern void       dircache_remove(const struct vol *, struct dir *, int flag);
 extern struct dir *dircache_search_by_did(const struct vol *vol, cnid_t did);
 extern struct dir *dircache_search_by_name(const struct vol *, const struct dir *dir, char *name, int len, time_t ctime);