diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2012-01-09 02:40:57 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2012-01-09 02:41:13 +0100 |
commit | d7f469c15c1fd8315061f85b87a19946c3ea4700 (patch) | |
tree | 6569c62ceea73f88d436e25c4854ea9bae2c2938 /sysdep/unix/unix.h | |
parent | 3f58437405f8e37e9c14d83274a6b82ffd9583f8 (diff) |
Some minor fixes.
Diffstat (limited to 'sysdep/unix/unix.h')
-rw-r--r-- | sysdep/unix/unix.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdep/unix/unix.h b/sysdep/unix/unix.h index ff31af29..3e85c85c 100644 --- a/sysdep/unix/unix.h +++ b/sysdep/unix/unix.h @@ -45,11 +45,12 @@ static inline int sa_family_check(sockaddr *sa) { return sa->sin_family == AF_IN #endif struct birdsock; +struct iface; void io_init(void); void io_loop(void); -// void fill_in_sockaddr(sockaddr *sa, ip_addr a, struct iface *ifa, unsigned port); -// void get_sockaddr(struct sockaddr_in6 *sa, ip_addr *a, struct iface **ifa, unsigned *port, int check); +void fill_in_sockaddr(sockaddr *sa, ip_addr a, struct iface *ifa, unsigned port); +void get_sockaddr(sockaddr *sa, ip_addr *a, struct iface **ifa, unsigned *port, int check); void sk_open_unix(struct birdsock *s, char *name); void *tracked_fopen(struct pool *, char *name, char *mode); void test_old_bird(char *path); |