]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/directory.h
Sending TM used size
[netatalk.git] / etc / afpd / directory.h
index 76267e73b9dac151a088c175af46d8348468dae3..79c4a0407fe3b6c1d61bb3d2208e1cc22f319d9f 100644 (file)
@@ -48,7 +48,6 @@
 
 #define DIRF_OFFCNT    (1<<4) /* offsprings count is valid */
 #define DIRF_CNID         (1<<5) /* renumerate id */
-#define DIRF_CACHELOCK (1<<6) /* lock in cache, don't remove in dircache_eviction, for catsearch */
 
 #define AFPDIR_READ    (1<<0)
 
@@ -117,6 +116,8 @@ extern int         dir_modify(const struct vol *vol, struct dir *dir, cnid_t pdi
                               const char *new_mname, const char *new_uname, bstring pdir_fullpath);
 extern int         dir_remove(const struct vol *vol, struct dir *dir);
 extern struct dir  *dirlookup (const struct vol *, cnid_t);
+extern struct dir *dirlookup_bypath(const struct vol *vol, const char *path);
+
 extern int         movecwd (const struct vol *, struct dir *);
 extern struct path *cname (struct vol *, struct dir *, char **);