summaryrefslogtreecommitdiff
path: root/src/stat_cache.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-11-25 22:38:16 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2020-07-08 19:54:28 -0400
commit0fcd51438dc663dc1bebf54404e94128924687dd (patch)
tree224fec55045ee5ab3742c42097f8c634780fca3e /src/stat_cache.h
parent010c28949c17f3a846d78e4938ae53f165b6b3f1 (diff)
downloadlighttpd-git-0fcd51438dc663dc1bebf54404e94128924687dd.tar.gz
[core] create http chunk header on the stack
streamline code in http_chunk.c
Diffstat (limited to 'src/stat_cache.h')
-rw-r--r--src/stat_cache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stat_cache.h b/src/stat_cache.h
index 9edfcc69..0bc63540 100644
--- a/src/stat_cache.h
+++ b/src/stat_cache.h
@@ -44,8 +44,8 @@ void stat_cache_delete_entry(server *srv, const char *name, size_t len);
void stat_cache_delete_dir(server *srv, const char *name, size_t len);
void stat_cache_invalidate_entry(server *srv, const char *name, size_t len);
handler_t stat_cache_get_entry(server *srv, connection *con, buffer *name, stat_cache_entry **sce);
-int stat_cache_path_contains_symlink(connection *con, buffer *name);
-int stat_cache_open_rdonly_fstat (buffer *name, struct stat *st, int symlinks);
+int stat_cache_path_contains_symlink(connection *con, const buffer *name);
+int stat_cache_open_rdonly_fstat (const buffer *name, struct stat *st, int symlinks);
int stat_cache_trigger_cleanup(server *srv);
#endif