mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-29 00:46:17 +02:00
Fix config password parsing
This commit is contained in:
parent
7d7ef5bf10
commit
aa3b289b47
4 changed files with 52 additions and 4 deletions
|
@ -57,13 +57,20 @@ std::string uriDecode(const std::string& src);
|
|||
/// @return uri encoded version of @p str
|
||||
std::string urlEncode(const std::string& str);
|
||||
|
||||
/// Split string @p s at @p delim into @p left and @p right
|
||||
/// Split string @p s at left-most @p delim into @p left and @p right
|
||||
void split_left(const std::string& s, char delim, std::string& left, std::string& right);
|
||||
|
||||
/// Split string @p s at @p delim and left and @p right
|
||||
/// Split string @p s at right-most @p delim into @p left and @p right
|
||||
void split_right(const std::string& s, char delim, std::string& left, std::string& right);
|
||||
|
||||
/// Split string @p s at left-most @p delim into left and @p right
|
||||
/// @return the left part
|
||||
std::string split_left(const std::string& s, char delim, std::string& right);
|
||||
|
||||
/// Split string @p s at right-most @p delim into left and @p right
|
||||
/// @return the left part
|
||||
std::string split_right(const std::string& s, char delim, std::string& right);
|
||||
|
||||
/// Split string @p s at @p delim and return the splitted list in @p elems
|
||||
/// @return list of splitted strings
|
||||
std::vector<std::string>& split(const std::string& s, char delim, std::vector<std::string>& elems);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue