aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-12 18:24:37 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-12 18:24:37 +0000
commit67f641e75b685abe1588b634b409c1ee2ff68c22 (patch)
tree74b3e38f1b7caef23bbf06a92b6e5d05530d50a6 /include/libbb.h
parent2c99851181a652358aa3ca58ef38c57e46ae02e4 (diff)
downloadbusybox-w32-67f641e75b685abe1588b634b409c1ee2ff68c22.tar.gz
busybox-w32-67f641e75b685abe1588b634b409c1ee2ff68c22.tar.bz2
busybox-w32-67f641e75b685abe1588b634b409c1ee2ff68c22.zip
- patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 650002b7b..d70c71cc0 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -147,6 +147,8 @@ extern void bb_fflush_stdout_and_exit(int retval) ATTRIBUTE_NORETURN;
147extern void xstat(const char *filename, struct stat *buf); 147extern void xstat(const char *filename, struct stat *buf);
148extern int bb_xsocket(int domain, int type, int protocol); 148extern int bb_xsocket(int domain, int type, int protocol);
149extern void bb_xdaemon(int nochdir, int noclose); 149extern void bb_xdaemon(int nochdir, int noclose);
150extern void bb_xbind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen);
151extern void bb_xlisten(int s, int backlog);
150 152
151#define BB_GETOPT_ERROR 0x80000000UL 153#define BB_GETOPT_ERROR 0x80000000UL
152extern const char *bb_opt_complementally; 154extern const char *bb_opt_complementally;