SklavaBot 0.1.0
Telegram Bot in C++
|
Functions | |
std::string | getMetar (std::string ICAO) |
Get METAR information from stations. | |
std::string | getTextFromImage (Pix *image) |
void | flush () |
Flush stdin. | |
void | log_cmd (std::string command, std::string user, std::int32_t timestamp, const std::string log_type) |
Function to print a better log. | |
size_t | writeFunction (void *ptr, size_t size, size_t nmemb, std::string *data) |
Write function for CURL. | |
std::string tools::getMetar | ( | std::string | ICAO | ) |
std::string tools::getTextFromImage | ( | Pix * | image | ) |
void tools::log_cmd | ( | std::string | command, |
std::string | user, | ||
std::int32_t | timestamp, | ||
const std::string | log_type | ||
) |
size_t tools::writeFunction | ( | void * | ptr, |
size_t | size, | ||
size_t | nmemb, | ||
std::string * | data | ||
) |