2022-02-17 20:02:08 -05:00
|
|
|
|
|
|
|
|
#ifndef DRIVER_UTIL_HPP
|
|
|
|
|
#define DRIVER_UTIL_HPP
|
|
|
|
|
|
2022-02-23 23:08:28 -05:00
|
|
|
#include "wrap-string.hpp"
|
|
|
|
|
#include "wrap-vector.hpp"
|
2022-02-18 03:59:21 -05:00
|
|
|
|
2022-02-24 13:50:43 -05:00
|
|
|
#include <string_view>
|
|
|
|
|
|
2022-02-17 20:02:08 -05:00
|
|
|
namespace drv {
|
|
|
|
|
|
2022-02-24 13:50:43 -05:00
|
|
|
void split_host_port(std::string_view target, drv::string &host, drv::string &port);
|
2022-02-17 20:02:08 -05:00
|
|
|
|
2022-02-24 13:50:43 -05:00
|
|
|
drv::vector<drv::string> parse_control_lst(std::string_view ctrl);
|
2022-02-18 03:59:21 -05:00
|
|
|
|
2022-02-17 20:02:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif // DRIVER_UTIL_HPP
|