blob: 07301fb15808c3c3974edcc690592bdfeb17fdf1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// vim:set sw=2 ts=2 sts et:
//
// Copyright 2024 Rutger Broekhoff. Licensed under the EUPL.
#include <optional>
#include <string>
struct SplitUrl {
std::string schemehost;
std::string portpath;
};
std::optional<SplitUrl> splitUrl(const std::string &url, std::string *error = nullptr);
|