mirror of
https://repo.or.cz/socat.git
synced 2025-07-19 09:22:57 +00:00
Reworked IPAPP clients
This commit is contained in:
parent
63f67101f4
commit
7b26406d96
16 changed files with 1660 additions and 649 deletions
11
xio-socks.h
11
xio-socks.h
|
@ -21,15 +21,8 @@ extern const struct addrdesc xioaddr_socks4_connect;
|
|||
extern const struct addrdesc xioaddr_socks4a_connect;
|
||||
|
||||
extern int _xioopen_opt_socksport(struct opt *opts, char **socksport);
|
||||
extern int _xioopen_socks4_prepare(const char *targetport, struct opt *opts, char **socksport, struct socks4 *sockhead, size_t *headlen);
|
||||
extern int
|
||||
_xioopen_socks4_connect0(struct single *xfd,
|
||||
const char *hostname, /* socks target host */
|
||||
int socks4a,
|
||||
struct socks4 *sockhead,
|
||||
ssize_t *headlen, /* get available space,
|
||||
return used length*/
|
||||
int level);
|
||||
extern int _xioopen_socks4_init(const char *targetport, struct opt *opts, char **socksport, struct socks4 *sockhead, size_t *headlen);
|
||||
extern int _xioopen_socks4_prepare(struct single *xfd, const char *hostname, int socks4a, struct socks4 *sockhead, ssize_t *headlen, int level);
|
||||
extern int _xioopen_socks4_connect(struct single *xfd,
|
||||
struct socks4 *sockhead,
|
||||
size_t headlen,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue