diff options
| author | Rutger Broekhoff | 2024-05-02 20:27:40 +0200 |
|---|---|---|
| committer | Rutger Broekhoff | 2024-05-02 20:27:40 +0200 |
| commit | 17a3ea880402338420699e03bcb24181e4ff3924 (patch) | |
| tree | da666ef91e0b60d20aa0b01529644c136fd1f4ab /src/bundleparquet/spliturl.hpp | |
| download | oeuf-17a3ea880402338420699e03bcb24181e4ff3924.tar.gz oeuf-17a3ea880402338420699e03bcb24181e4ff3924.zip | |
Initial commit
Based on dc4ba6a
Diffstat (limited to 'src/bundleparquet/spliturl.hpp')
| -rw-r--r-- | src/bundleparquet/spliturl.hpp | 11 |
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 | |||
| 6 | struct SplitUrl { | ||
| 7 | std::string schemehost; | ||
| 8 | std::string portpath; | ||
| 9 | }; | ||
| 10 | |||
| 11 | std::optional<SplitUrl> splitUrl(const std::string &url, std::string *error = nullptr); | ||