2008-01-28 21:37:16 +00:00
|
|
|
/* source: xio-unix.h */
|
2016-07-22 06:54:31 +00:00
|
|
|
/* Copyright Gerhard Rieger and contributors (see file CHANGES) */
|
2008-01-27 12:00:08 +00:00
|
|
|
/* Published under the GNU General Public License V.2, see file COPYING */
|
|
|
|
|
|
|
|
#ifndef __xio_unix_h_included
|
|
|
|
#define __xio_unix_h_included 1
|
|
|
|
|
2008-08-24 09:04:08 +00:00
|
|
|
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;
|
2008-01-27 12:00:08 +00:00
|
|
|
extern const struct addrdesc xioaddr_abstract_connect;
|
|
|
|
extern const struct addrdesc xioaddr_abstract_listen;
|
|
|
|
extern const struct addrdesc xioaddr_abstract_sendto;
|
|
|
|
extern const struct addrdesc xioaddr_abstract_recvfrom;
|
|
|
|
extern const struct addrdesc xioaddr_abstract_recv;
|
|
|
|
extern const struct addrdesc xioaddr_abstract_client;
|
|
|
|
|
2008-08-24 09:04:08 +00:00
|
|
|
extern const struct optdesc xioopt_unix_tightsocklen;
|
2008-01-27 12:00:08 +00:00
|
|
|
|
|
|
|
extern socklen_t
|
2008-09-20 21:47:06 +00:00
|
|
|
xiosetunix(int pf,
|
|
|
|
struct sockaddr_un *saun,
|
2008-01-27 12:00:08 +00:00
|
|
|
const char *path,
|
|
|
|
bool abstract,
|
|
|
|
bool tight);
|
2008-09-22 20:17:55 +00:00
|
|
|
extern int
|
|
|
|
xiosetsockaddrenv_unix(int idx, char *namebuff, size_t namelen,
|
|
|
|
char *valuebuff, size_t valuelen,
|
|
|
|
struct sockaddr_un *sa, socklen_t salen, int ipproto);
|
2008-01-27 12:00:08 +00:00
|
|
|
|
2008-09-20 21:47:06 +00:00
|
|
|
extern int
|
2023-06-14 09:41:44 +00:00
|
|
|
_xioopen_unix_client(xiosingle_t *xfd, int xioflags, groups_t groups,
|
2008-09-20 21:47:06 +00:00
|
|
|
int abstract, struct opt *opts, const char *name);
|
|
|
|
|
2008-01-27 12:00:08 +00:00
|
|
|
#endif /* !defined(__xio_unix_h_included) */
|