Rework & fix pool-create / pool-modify / pool-ls

This commit is contained in:
Vitaliy Filippov
2024-02-28 13:08:04 +03:00
parent dc92851322
commit 86243b7101
13 changed files with 885 additions and 1368 deletions
+2
View File
@@ -4,6 +4,7 @@
#pragma once
#include <stdint.h>
#include <string>
#include <vector>
std::string base64_encode(const std::string &in);
std::string base64_decode(const std::string &in);
@@ -20,3 +21,4 @@ std::string read_all_fd(int fd);
std::string str_repeat(const std::string & str, int times);
size_t utf8_length(const std::string & s);
size_t utf8_length(const char *s);
std::vector<std::string> explode(const std::string & sep, const std::string & value, bool trim);