aboutsummaryrefslogtreecommitdiffstats
path: root/src/manager/lib/response.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager/lib/response.h')
-rw-r--r--src/manager/lib/response.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/manager/lib/response.h b/src/manager/lib/response.h
index e3be2cf43..50d0eacc1 100644
--- a/src/manager/lib/response.h
+++ b/src/manager/lib/response.h
@@ -78,6 +78,13 @@ struct response_t {
* @param location location to redirect to
*/
void (*redirect)(response_t *this, char *location);
+
+ /**
+ * @brief Get the base path of the application.
+ *
+ * @return base path
+ */
+ char* (*get_base)(response_t *this);
/**
* @brief Destroy a response_t.