Lines Matching refs:url
125 escl_tls_protocol_supported(char *url, int proto)
130 curl_easy_setopt(curl, CURLOPT_URL, url);
146 escl_is_tls(char * url, char *type)
154 if (escl_tls_protocol_supported(url, proto_tls[tls_version]) == CURLE_OK)
168 escl_is_tls(char * url, char *type)
170 (void)url;
224 * the port number, the model name, the ip address, and the type of url (http/https).
250 * the port number, the model name, the ip address and the type of the url (http / https).
383 * \brief Function that checks if the url of the received scanner is secured or not (http / https).
384 * --> if the url is not secured, our own url will be composed like "http://'ip':'port'".
385 * --> else, our own url will be composed like "https://'ip':'port'".
386 * AND, it's in this function that we gather all the information of the url (that were in our list) :
387 * the model_name, the port, the ip, and the type of url.
388 * SO, leaving this function, we have in memory the complete url.
390 * \return sdev (structure that contains the elements of the url)
1875 char *url;
1881 url = (char *)malloc(url_len);
1882 snprintf(url, url_len, "%s://%s:%d%s",
1886 DBG( 1, "escl_curl_url: URL: %s\n", url );
1887 curl_easy_setopt(handle, CURLOPT_URL, url);
1888 free(url);