X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=dcache.h;fp=dcache.h;h=a3037267d2a986f23874be8055f1e1bbeee15b40;hb=054119ac0d47dfaff9d5f8a0ce397e674d205aaf;hp=d45614bebcba9e8f010421c1c6c7770def33debc;hpb=992dab7e105372c624051b3fc34b7179f961cd80;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