blob: 72c61f4d1061fd2efa70c0785b0733d30a648b92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef _FILE_CACHE_H_
#define _FILE_CACHE_H_
#include "first.h"
#include "base.h"
stat_cache *stat_cache_init(void);
void stat_cache_free(stat_cache *fc);
handler_t stat_cache_get_entry(server *srv, connection *con, buffer *name, stat_cache_entry **fce);
handler_t stat_cache_handle_fdevent(server *srv, void *_fce, int revent);
int stat_cache_open_rdonly_fstat (server *srv, connection *con, buffer *name, struct stat *st);
int stat_cache_trigger_cleanup(server *srv);
#endif
|