diff options
author | Martin Mares <mj@ucw.cz> | 1999-10-29 12:09:29 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-10-29 12:09:29 +0000 |
commit | b93abffae4ad5767625b35c9a09513e9d27a5256 (patch) | |
tree | bf3b6a2427d1d79619c98d6e82d97a111ae5aad4 /sysdep/unix/unix.h | |
parent | 0d70292d88276a9883ab8bc15b00e6a2e2fe4487 (diff) |
Implemented unix-domain sockets.
Diffstat (limited to 'sysdep/unix/unix.h')
-rw-r--r-- | sysdep/unix/unix.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdep/unix/unix.h b/sysdep/unix/unix.h index e3c9708d..ab724d19 100644 --- a/sysdep/unix/unix.h +++ b/sysdep/unix/unix.h @@ -31,10 +31,13 @@ typedef struct sockaddr_in6 sockaddr; typedef struct sockaddr_in sockaddr; #endif +struct birdsock; + void io_init(void); void io_loop(void); void fill_in_sockaddr(sockaddr *sa, ip_addr a, unsigned port); void get_sockaddr(sockaddr *sa, ip_addr *a, unsigned *port); +int sk_open_unix(struct birdsock *s, char *name); /* krt.c bits */ |