mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 15:32:35 +00:00
34 lines
1.2 KiB
C
34 lines
1.2 KiB
C
/* source: xio-unix.h */
|
|
/* Copyright Gerhard Rieger 2001-2008 */
|
|
/* 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 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;
|
|
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 xioopt_unix_tightsocklen;
|
|
|
|
extern socklen_t
|
|
xiosetunix(int pf,
|
|
struct sockaddr_un *saun,
|
|
const char *path,
|
|
bool abstract,
|
|
bool tight);
|
|
|
|
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) */
|