5 #include "base_decls.h"
13 struct stat_cache
; /* declaration */
31 int stat_cache_choose_engine (server
*srv
, const buffer
*stat_cache_string
);
34 struct stat_cache
*stat_cache_init(server
*srv
);
37 void stat_cache_free(struct stat_cache
*fc
);
39 const buffer
* stat_cache_mimetype_by_ext(const connection
*con
, const char *name
, size_t nlen
);
40 const buffer
* stat_cache_content_type_get(server
*srv
, connection
*con
, const buffer
*name
, stat_cache_entry
*sce
);
41 const buffer
* stat_cache_etag_get(stat_cache_entry
*sce
, etag_flags_t flags
);
42 handler_t
stat_cache_get_entry(server
*srv
, connection
*con
, buffer
*name
, stat_cache_entry
**sce
);
43 int stat_cache_path_contains_symlink(server
*srv
, buffer
*name
);
44 int stat_cache_open_rdonly_fstat (buffer
*name
, struct stat
*st
, int symlinks
);
46 int stat_cache_trigger_cleanup(server
*srv
);