--- a/src/server/daemon/location.h Sun Nov 23 12:44:59 2025 +0100 +++ b/src/server/daemon/location.h Sun Nov 23 13:22:56 2025 +0100 @@ -34,6 +34,7 @@ #include <regex.h> #include "../public/nsapi.h" #include "../config/serverconfig.h" +#include "config.h" #include "../util/strreplace.h" #include "../webdav/webdav.h" @@ -142,7 +143,12 @@ WSLocation *next; }; -WSLocation* cfg_location_get(const CxAllocator *a, ConfigNode *obj); +WSLocation* cfg_location_get(ServerConfiguration *cfg, ConfigNode *obj); + +int location_apply_config(WSLocationConfig *target, WSLocation *loc); +int location_match(WSLocation *loc, cxstring uri); +WSLocationConfig* location_match_and_get_config(pool_handle_t *pool, cxstring uri, WSLocation *loc); +WSLocationConfig* cfg_location_match(Session *sn, Request *rq); #ifdef __cplusplus }