2008-01-28 21:37:16 +00:00
|
|
|
/* source: xio-unix.h */
|
2008-09-22 20:17:55 +00:00
|
|
|
/* Copyright Gerhard Rieger 2001-2008 */
|
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
|
|
|
|
|
|
|
|
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_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;
|
|
|
|
|
|
|
|
extern const struct optdesc opt_unix_tightsocklen;
|
|
|
|
|
|
|
|
extern socklen_t
|
|
|
|
xiosetunix(struct sockaddr_un *saun,
|
|
|
|
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
|
|
|
|
|
|
|
#endif /* !defined(__xio_unix_h_included) */
|