X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=dcache.h;h=3acd1ecc3346b7e9ac5cd22a7e9d91b46d41bc71;hb=06d4616d0b25d5dbdb9cb04675d9d10e24c8ec0c;hp=d45614bebcba9e8f010421c1c6c7770def33debc;hpb=3ad8d4d33a7c7cb5c2bba376bcc0a1080cf63ab1;p=betaftpd diff --git a/dcache.h b/dcache.h index d45614b..3acd1ec 100644 --- a/dcache.h +++ b/dcache.h @@ -2,7 +2,7 @@ Copyright (C) 2000 Steinar H. Gunderson This program is is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License, version 2 if the + it under the terms of the GNU General Public License, version 2 of the License as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, @@ -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