Lines Matching refs:proxy_polarssl_ctx
36 int socks4a_connect(proxy_polarssl_ctx *ctx) in socks4a_connect()
95 int socks5_connect(proxy_polarssl_ctx *ctx) in socks5_connect()
209 int sock_gets(proxy_polarssl_ctx *ctx, char *buf, size_t sz) in sock_gets()
223 int http_connect(proxy_polarssl_ctx *ctx) in http_connect()
263 int API proxy_polarssl_init(proxy_polarssl_ctx *ctx) in proxy_polarssl_init()
268 memset(ctx, 0, sizeof(proxy_polarssl_ctx)); in proxy_polarssl_init()
272 void API proxy_polarssl_set_bio(proxy_polarssl_ctx *ctx, in proxy_polarssl_set_bio()
285 int API proxy_polarssl_free(proxy_polarssl_ctx *ctx) in proxy_polarssl_free()
299 int API proxy_polarssl_set_scheme(proxy_polarssl_ctx *ctx, const char *scheme) in proxy_polarssl_set_scheme()
312 int API proxy_polarssl_set_host(proxy_polarssl_ctx *ctx, const char *host) in proxy_polarssl_set_host()
320 void API proxy_polarssl_set_port(proxy_polarssl_ctx *ctx, uint16_t port) in proxy_polarssl_set_port()
327 proxy_polarssl_ctx *proxy = (proxy_polarssl_ctx *) ctx; in proxy_polarssl_recv()
346 proxy_polarssl_ctx *proxy = (proxy_polarssl_ctx *) ctx; in proxy_polarssl_send()