1 /* source: xio-proxy.h */
2 /* Copyright Gerhard Rieger 2002-2006 */
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
13 char *targetaddr
; /* name/address of host, in malloced string */
17 extern const struct optdesc opt_proxyport
;
18 extern const struct optdesc opt_ignorecr
;
19 extern const struct optdesc opt_proxy_resolve
;
20 extern const struct optdesc opt_proxy_authorization
;
22 extern const struct addrdesc addr_proxy_connect
;
24 int _xioopen_proxy_prepare(struct proxyvars
*proxyvars
, struct opt
*opts
,
25 const char *targetname
, const char *targetport
);
26 int _xioopen_proxy_connect(struct single
*xfd
,
27 struct proxyvars
*proxyvars
,
30 #endif /* !defined(__xio_proxy_h_included) */