diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2019-12-25 21:51:20 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-08 19:54:29 -0400 |
commit | 66bdd96d3645a4bcff92aa210e5fa2c100ee1fad (patch) | |
tree | ed4357d9d88d30fe589616d4cd6c430e931b443a /src/stat_cache.h | |
parent | 8588772caa518374617693ac41c875cb379fd944 (diff) | |
download | lighttpd-git-66bdd96d3645a4bcff92aa210e5fa2c100ee1fad.tar.gz |
[core] isolate stat_cache subsystem
stat_cache.c no longer directly uses struct server *srv
Diffstat (limited to 'src/stat_cache.h')
-rw-r--r-- | src/stat_cache.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stat_cache.h b/src/stat_cache.h index 46c0bf12..fe6cdb1d 100644 --- a/src/stat_cache.h +++ b/src/stat_cache.h @@ -23,10 +23,12 @@ typedef struct { } stat_cache_entry; __attribute_cold__ -int stat_cache_choose_engine (server *srv, const buffer *stat_cache_string); +int stat_cache_choose_engine (const buffer *stat_cache_string, log_error_st *errh); + +struct fdevents; /* declaration */ __attribute_cold__ -int stat_cache_init(server *srv); +int stat_cache_init(struct fdevents *ev, log_error_st *errh); __attribute_cold__ void stat_cache_free(void); |