diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2024-09-09 13:52:35 +0200 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2024-09-10 12:01:05 +0200 |
commit | 4e921ffa31fdca2425d326efda1c6d9ad190359a (patch) | |
tree | 8d0fe130bd26dedb5c0754249734608217bbd6b9 /browse.h | |
parent | d7edafe299d44a0bec9d29e2b3a4ca853ffa1a80 (diff) |
upload: handle form submission
Diffstat (limited to 'browse.h')
-rw-r--r-- | browse.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -33,9 +33,20 @@ #include <kcgi.h> +#include "file.h" + #define BROWSE_URL "browse" /* + * Build the URL to browse to a directory and assign it to the file's + * action_url. + * All parameters are required. + * Returns the length of the created URL, or 0 in case of failure. + */ +size_t +build_browse_url(struct kreq *, struct file *); + +/* * Print a browse page that allows to browse through the folder hierarchy. * The KCGI request is required. */ |