| 108 | } |
| 109 | |
| 110 | void FtpServerBrowser::GetInfoForPlayer(string const& in, string& url, GenericPlayer::Option **opt) |
| 111 | { |
| 112 | url = "http://"; |
| 113 | CURLU *turl = curl_url_dup(m_url); |
| 114 | curl_url_set(turl, CURLUPART_URL, in.c_str(), 0); |
| 115 | char *result; |
| 116 | curl_url_get(turl, CURLUPART_URL, &result, 0); |
| 117 | url += result; |
| 118 | curl_free(result); |
| 119 | curl_url_cleanup(turl); |
| 120 | *opt = NULL; |
| 121 | } |
| 122 | |
| 123 | void FtpServerBrowser::SetPath(const char *ref) |
| 124 | { |
no outgoing calls
no test coverage detected