updated build system

This commit is contained in:
2024-08-20 08:57:38 -05:00
parent 734dab801d
commit f8e9176538
3 changed files with 17 additions and 15 deletions

View File

@ -440,6 +440,22 @@ struct file_deleter final {
}
};
using file_t = std::unique_ptr<FILE, file_deleter>;
#if defined(PROJECT_ENABLE_CURL)
struct http_range final {
std::uint64_t begin{};
std::uint64_t end{};
};
using http_headers = std::unordered_map<std::string, std::string>;
using http_query_parameters = std::map<std::string, std::string>;
using http_ranges = std::vector<http_range>;
struct encrypt_config {
std::string encryption_token;
std::string path;
};
#endif // defined(PROJECT_ENABLE_CURL)
} // namespace repertory
#endif // defined(__cplusplus)