2022-02-17 20:02:08 -05:00
|
|
|
|
|
|
|
|
#ifndef DRIVER_UTIL_HPP
|
|
|
|
|
#define DRIVER_UTIL_HPP
|
|
|
|
|
|
|
|
|
|
#include "umm-malloc.hpp"
|
|
|
|
|
|
2022-02-18 03:59:21 -05:00
|
|
|
using UmmStringVec = UmmVector<UmmString>;
|
|
|
|
|
|
2022-02-17 20:02:08 -05:00
|
|
|
namespace drv {
|
|
|
|
|
|
|
|
|
|
void split_host_port(std::string_view target, UmmString &host, UmmString &port);
|
|
|
|
|
|
2022-02-18 03:59:21 -05:00
|
|
|
UmmStringVec parse_control_lst(std::string_view ctrl);
|
|
|
|
|
|
2022-02-17 20:02:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif // DRIVER_UTIL_HPP
|