12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- #ifndef HEADER_CURL_SOCKS_H
- #define HEADER_CURL_SOCKS_H
- #include "curl_setup.h"
- #ifdef CURL_DISABLE_PROXY
- #define Curl_SOCKS4(a,b,c,d,e) CURLE_NOT_BUILT_IN
- #define Curl_SOCKS5(a,b,c,d,e,f) CURLE_NOT_BUILT_IN
- #define Curl_SOCKS_getsock(x,y,z) 0
- #else
- int Curl_blockread_all(struct Curl_cfilter *cf,
- struct Curl_easy *data,
- char *buf,
- ssize_t buffersize,
- ssize_t *n);
- #if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
- CURLcode Curl_SOCKS5_gssapi_negotiate(struct Curl_cfilter *cf,
- struct Curl_easy *data);
- #endif
- CURLcode Curl_cf_socks_proxy_insert_after(struct Curl_cfilter *cf_at,
- struct Curl_easy *data);
- extern struct Curl_cftype Curl_cft_socks_proxy;
- #endif
- #endif
|