diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index e2bedaf41..2c34859a2 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -636,6 +636,7 @@ void setsockopt_reuseaddr(int fd) FAST_FUNC; /* On Linux this never fails. */ | |||
636 | int setsockopt_keepalive(int fd) FAST_FUNC; | 636 | int setsockopt_keepalive(int fd) FAST_FUNC; |
637 | int setsockopt_broadcast(int fd) FAST_FUNC; | 637 | int setsockopt_broadcast(int fd) FAST_FUNC; |
638 | int setsockopt_bindtodevice(int fd, const char *iface) FAST_FUNC; | 638 | int setsockopt_bindtodevice(int fd, const char *iface) FAST_FUNC; |
639 | int bb_getsockname(int sockfd, void *addr, socklen_t addrlen) FAST_FUNC; | ||
639 | /* NB: returns port in host byte order */ | 640 | /* NB: returns port in host byte order */ |
640 | unsigned bb_lookup_port(const char *port, const char *protocol, unsigned default_port) FAST_FUNC; | 641 | unsigned bb_lookup_port(const char *port, const char *protocol, unsigned default_port) FAST_FUNC; |
641 | typedef struct len_and_sockaddr { | 642 | typedef struct len_and_sockaddr { |