// vim:set sw=2 ts=2 sts et: // // Copyright 2024 Rutger Broekhoff. Licensed under the EUPL. #include #include struct SplitUrl { std::string schemehost; std::string portpath; }; std::optional splitUrl(const std::string &url, std::string *error = nullptr);