libzypp  17.28.8
internal Namespace Reference

Classes

struct  ProgressData
 

Functions

void globalInitCurlOnce ()
 
int log_curl (CURL *curl, curl_infotype info, char *ptr, size_t len, void *max_lvl)
 
size_t log_redirects_curl (char *ptr, size_t size, size_t nmemb, void *userdata)
 
void fillSettingsFromUrl (const Url &url, media::TransferSettings &s)
 Fills the settings structure using options passed on the url for example ?timeout=x&proxy=foo. More...
 
void fillSettingsSystemProxy (const Url &url, media::TransferSettings &s)
 Reads the system proxy configuration and fills the settings structure proxy information. More...
 
const char * agentString ()
 initialized only once, this gets the agent string which also includes the curl version More...
 
void curlEscape (std::string &str_r, const char char_r, const std::string &escaped_r)
 
std::string curlEscapedPath (std::string path_r)
 
std::string curlUnEscape (std::string text_r)
 
Url clearQueryString (const Url &url)
 
zypp::Url propagateQueryParams (zypp::Url url_r, const zypp::Url &template_r)
 

Function Documentation

◆ globalInitCurlOnce()

void internal::globalInitCurlOnce ( )

Definition at line 46 of file CurlHelper.cc.

◆ log_curl()

int internal::log_curl ( CURL *  curl,
curl_infotype  info,
char *  ptr,
size_t  len,
void *  max_lvl 
)

Definition at line 55 of file CurlHelper.cc.

◆ log_redirects_curl()

size_t internal::log_redirects_curl ( char *  ptr,
size_t  size,
size_t  nmemb,
void *  userdata 
)

Definition at line 89 of file CurlHelper.cc.

◆ fillSettingsFromUrl()

void internal::fillSettingsFromUrl ( const Url url,
media::TransferSettings s 
)

Fills the settings structure using options passed on the url for example ?timeout=x&proxy=foo.

Definition at line 129 of file CurlHelper.cc.

◆ fillSettingsSystemProxy()

void internal::fillSettingsSystemProxy ( const Url url,
media::TransferSettings s 
)

Reads the system proxy configuration and fills the settings structure proxy information.

Definition at line 277 of file CurlHelper.cc.

◆ agentString()

const char * internal::agentString ( )

initialized only once, this gets the agent string which also includes the curl version

Definition at line 331 of file CurlHelper.cc.

◆ curlEscape()

void internal::curlEscape ( std::string &  str_r,
const char  char_r,
const std::string &  escaped_r 
)

Definition at line 347 of file CurlHelper.cc.

◆ curlEscapedPath()

std::string internal::curlEscapedPath ( std::string  path_r)

Definition at line 355 of file CurlHelper.cc.

◆ curlUnEscape()

std::string internal::curlUnEscape ( std::string  text_r)

Definition at line 360 of file CurlHelper.cc.

◆ clearQueryString()

zypp::Url internal::clearQueryString ( const Url url)

Definition at line 367 of file CurlHelper.cc.

◆ propagateQueryParams()

zypp::Url internal::propagateQueryParams ( zypp::Url  url_r,
const zypp::Url template_r 
)

Definition at line 393 of file CurlHelper.cc.