aboutsummaryrefslogtreecommitdiffstats
path: root/src/bundleparquet/spliturl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bundleparquet/spliturl.hpp')
-rw-r--r--src/bundleparquet/spliturl.hpp11
1 files changed, 11 insertions, 0 deletions
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 @@
1// vim:set sw=2 ts=2 sts et:
2
3#include <optional>
4#include <string>
5
6struct SplitUrl {
7 std::string schemehost;
8 std::string portpath;
9};
10
11std::optional<SplitUrl> splitUrl(const std::string &url, std::string *error = nullptr);