mirror of
https://repo.or.cz/socat.git
synced 2025-07-15 07:33:25 +00:00
merged feature protocol-type
This commit is contained in:
commit
86c596bd51
23 changed files with 490 additions and 752 deletions
21
xio-unix.h
21
xio-unix.h
|
@ -5,12 +5,12 @@
|
|||
#ifndef __xio_unix_h_included
|
||||
#define __xio_unix_h_included 1
|
||||
|
||||
extern const struct addrdesc addr_unix_connect;
|
||||
extern const struct addrdesc addr_unix_listen;
|
||||
extern const struct addrdesc addr_unix_sendto;
|
||||
extern const struct addrdesc addr_unix_recvfrom;
|
||||
extern const struct addrdesc addr_unix_recv;
|
||||
extern const struct addrdesc addr_unix_client;
|
||||
extern const struct addrdesc xioaddr_unix_connect;
|
||||
extern const struct addrdesc xioaddr_unix_listen;
|
||||
extern const struct addrdesc xioaddr_unix_sendto;
|
||||
extern const struct addrdesc xioaddr_unix_recvfrom;
|
||||
extern const struct addrdesc xioaddr_unix_recv;
|
||||
extern const struct addrdesc xioaddr_unix_client;
|
||||
extern const struct addrdesc xioaddr_abstract_connect;
|
||||
extern const struct addrdesc xioaddr_abstract_listen;
|
||||
extern const struct addrdesc xioaddr_abstract_sendto;
|
||||
|
@ -18,10 +18,11 @@ extern const struct addrdesc xioaddr_abstract_recvfrom;
|
|||
extern const struct addrdesc xioaddr_abstract_recv;
|
||||
extern const struct addrdesc xioaddr_abstract_client;
|
||||
|
||||
extern const struct optdesc opt_unix_tightsocklen;
|
||||
extern const struct optdesc xioopt_unix_tightsocklen;
|
||||
|
||||
extern socklen_t
|
||||
xiosetunix(struct sockaddr_un *saun,
|
||||
xiosetunix(int pf,
|
||||
struct sockaddr_un *saun,
|
||||
const char *path,
|
||||
bool abstract,
|
||||
bool tight);
|
||||
|
@ -30,4 +31,8 @@ xiosetsockaddrenv_unix(int idx, char *namebuff, size_t namelen,
|
|||
char *valuebuff, size_t valuelen,
|
||||
struct sockaddr_un *sa, socklen_t salen, int ipproto);
|
||||
|
||||
extern int
|
||||
_xioopen_unix_client(xiosingle_t *xfd, int xioflags, unsigned groups,
|
||||
int abstract, struct opt *opts, const char *name);
|
||||
|
||||
#endif /* !defined(__xio_unix_h_included) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue