diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2024-09-05 12:58:22 +0200 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2024-09-06 12:22:20 +0200 |
commit | 35a145fd161fb4d4f19aa9820b50438695b94414 (patch) | |
tree | 00e9f341d5b7e0a6874efbe9fafc0500cf13cd2d /http.h | |
parent | 9b8d38ab209c6e7e747d6d420f1b105fe858c7eb (diff) |
browse: add upload button
Diffstat (limited to 'http.h')
-rw-r--r-- | http.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |