]> git.sesse.net Git - betaftpd/blobdiff - ftpd.h
Moved most of the dcache stuff into its own file. Updated Makefile.in accordingly.
[betaftpd] / ftpd.h
diff --git a/ftpd.h b/ftpd.h
index 02ae127e3788146839ae3f26792edf53737e6d45..086df8a50780adc26c5ce6d2a8e0e98fa2abd94b 100644 (file)
--- a/ftpd.h
+++ b/ftpd.h
@@ -111,25 +111,6 @@ struct conn {
        time_t last_transfer;
 };
 
-#if WANT_DCACHE
-/* doubly linked list of cached directory listings */
-struct dcache {
-       struct dcache *prev_dcache;
-       struct dcache *next_dcache;
-
-       int use_count;
-       time_t last_used;
-       time_t generated;
-
-       char dir_name[256];
-       char pattern[256];
-       struct list_options lo;
-
-       char *dir_data;
-       int dir_size;
-};
-#endif
-
 /* doubly linked list of file transfers */
 struct ftran {
        struct ftran *prev_ftran;