X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=dcache.h;h=a3037267d2a986f23874be8055f1e1bbeee15b40;hb=f0c7394d9bdae7e980847003f2da6dcc3d2ad96c;hp=d45614bebcba9e8f010421c1c6c7770def33debc;hpb=3ad8d4d33a7c7cb5c2bba376bcc0a1080cf63ab1;p=betaftpd diff --git a/dcache.h b/dcache.h index d45614b..a303726 100644 --- a/dcache.h +++ b/dcache.h @@ -46,8 +46,12 @@ struct dcache { }; struct dcache *alloc_new_dcache(); +void destroy_dcache(struct dcache * const d); + void time_out_dcache(); void populate_dcache(struct ftran * const f, const char * const cwd, const char * const pattern, const struct list_options * const lo); +struct dcache *find_dcache(const char * const cwd, const char * const pattern, + const struct list_options * const lo); #endif