Lines Matching defs:proxy
139 static char *proxy = NULL; /* the proxy name if any */
140 static int proxyPort = 0; /* the proxy port if any */
141 static char *proxyUser = NULL; /* user for proxy authentication */
142 static char *proxyPasswd = NULL;/* passwd for proxy authentication */
175 * Currently it just checks for proxy informations,
221 * Cleanup the FTP protocol layer. This cleanup proxy informations.
226 if (proxy != NULL) {
227 xmlFree(proxy);
228 proxy = NULL;
247 * @host: the proxy host name
248 * @port: the proxy port
249 * @user: the proxy user name
250 * @passwd: the proxy password
251 * @type: the type of proxy 1 for using SITE, 2 for USER a@b
253 * Setup the FTP proxy informations.
261 if (proxy != NULL) {
262 xmlFree(proxy);
263 proxy = NULL;
274 proxy = xmlMemStrdup(host);
410 * @URL: The proxy URL used to initialize the proxy context
412 * (Re)Initialize the FTP Proxy context by parsing the URL and finding
415 * A NULL URL cleans up proxy informations.
422 if (proxy != NULL) {
423 xmlFree(proxy);
424 proxy = NULL;
431 "Removing FTP proxy info\n");
434 "Using FTP proxy %s\n", URL);
447 proxy = xmlMemStrdup(uri->server);
864 if (proxy) {
882 if (proxy) {
883 if (getaddrinfo (proxy, NULL, &hints, &result) != 0) {
926 if (proxy)
927 hp = gethostbyname (GETHOSTBYNAME_ARG_CAST proxy);
1010 * Of course in case of using a proxy this get really nasty and is not
1013 if (proxy) {
1019 * We need proxy auth
1077 * We assume we don't need more authentication to the proxy
1166 * If you need support for other Proxy authentication scheme
1176 * Non-proxy handling.