summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'http.h')
-rw-r--r--http.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/http.h b/http.h
index 6ca25e9..71a5d61 100644
--- a/http.h
+++ b/http.h
@@ -48,7 +48,7 @@ struct http_ret {
* All parameters are required.
*/
bool
-http_open_file(struct kreq *, enum khttp, struct file *);
+http_open_file(struct kreq *, enum khttp, const struct file *);
/*
* Initialize headers and start the document body with the provided http code.
@@ -67,6 +67,6 @@ http_open(struct kreq *, enum khttp, enum kmime);
* This function exits with EXIT_FAILURE. It never returns.
*/
void
-http_exit(struct kreq *, enum khttp, char *,...);
+http_exit(const struct kreq *, enum khttp, const char *,...);
#endif /* HTTP_H */