From 17a3ea880402338420699e03bcb24181e4ff3924 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Thu, 2 May 2024 20:27:40 +0200 Subject: Initial commit Based on dc4ba6a --- src/bundleparquet/spliturl.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/bundleparquet/spliturl.hpp (limited to 'src/bundleparquet/spliturl.hpp') diff --git a/src/bundleparquet/spliturl.hpp b/src/bundleparquet/spliturl.hpp new file mode 100644 index 0000000..d8150e0 --- /dev/null +++ b/src/bundleparquet/spliturl.hpp @@ -0,0 +1,11 @@ +// vim:set sw=2 ts=2 sts et: + +#include +#include + +struct SplitUrl { + std::string schemehost; + std::string portpath; +}; + +std::optional splitUrl(const std::string &url, std::string *error = nullptr); -- cgit v1.2.3