diff options
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. */ |