| 41 | |
| 42 | |
| 43 | static size_t write_string_callback(void *data, size_t size, size_t nmemb, void *p) { |
| 44 | std::string &text = *((std::string*)p); |
| 45 | char *dataStr = (char*) data; |
| 46 | size_t len = size * nmemb; |
| 47 | text.append(dataStr, len); |
| 48 | return len; |
| 49 | } |
| 50 | |
| 51 | |
| 52 | static CURL *db_curl_easy_init() { |
nothing calls this directly
no outgoing calls
no test coverage detected