1 /* source: xio-proxy.h */
2 /* Copyright Gerhard Rieger and contributors (see file CHANGES) */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 #ifndef __xio_proxy_h_included
6 #define __xio_proxy_h_included 1
15 char *targetaddr
; /* name/address of host, in malloced string */
19 extern const struct optdesc opt_proxyport
;
20 extern const struct optdesc opt_ignorecr
;
21 extern const struct optdesc opt_http_version
;
22 extern const struct optdesc opt_proxy_resolve
;
23 extern const struct optdesc opt_proxy_authorization
;
24 extern const struct optdesc opt_proxy_authorization_file
;
26 extern const struct addrdesc xioaddr_proxy_connect
;
28 extern int _xioopen_proxy_prepare(struct proxyvars
*proxyvars
, struct opt
*opts
, const char *targetname
, const char *targetport
, const int ai_flags
[2]);
29 int _xioopen_proxy_connect(struct single
*xfd
,
30 struct proxyvars
*proxyvars
,
33 #endif /* !defined(__xio_proxy_h_included) */