13extern CGV_API
bool expand_archive(
const std::string& file_path,
const std::string& destination_path);
16extern CGV_API
bool compress_archive(
const std::string& file_filter_path,
const std::string& archive_path);
19extern CGV_API std::string query_system_output(std::string cmd,
bool cerr);
34extern CGV_API
size_t read_system_output(std::string cmd, uint8_t* buffer,
size_t buffer_size,
const char* progression_text = 0,
bool use_cerr =
false,
void (*on_progress_update)(
int,
void*) = 0,
void* user_data = 0,
size_t block_size = 4096,
bool cycle_till_eof =
false);
41extern CGV_API FILE* open_system_output(
const std::string& cmd,
bool in_binary_mode =
true);
48extern CGV_API FILE* open_system_input(
const std::string& cmd,
bool in_binary_mode =
true);
54extern CGV_API
int close_system_input(FILE* fp);
59#include <cgv/config/lib_end.h>