summaryrefslogtreecommitdiff
path: root/sysdep/unix/unix.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-10-29 12:09:29 +0000
committerMartin Mares <mj@ucw.cz>1999-10-29 12:09:29 +0000
commitb93abffae4ad5767625b35c9a09513e9d27a5256 (patch)
treebf3b6a2427d1d79619c98d6e82d97a111ae5aad4 /sysdep/unix/unix.h
parent0d70292d88276a9883ab8bc15b00e6a2e2fe4487 (diff)
Implemented unix-domain sockets.
Diffstat (limited to 'sysdep/unix/unix.h')
-rw-r--r--sysdep/unix/unix.h3
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 */