diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-12 18:24:37 +0000 |
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-12 18:24:37 +0000 |
| commit | 67f641e75b685abe1588b634b409c1ee2ff68c22 (patch) | |
| tree | 74b3e38f1b7caef23bbf06a92b6e5d05530d50a6 /include | |
| parent | 2c99851181a652358aa3ca58ef38c57e46ae02e4 (diff) | |
| download | busybox-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')
| -rw-r--r-- | include/libbb.h | 2 |
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; | |||
| 147 | extern void xstat(const char *filename, struct stat *buf); | 147 | extern void xstat(const char *filename, struct stat *buf); |
| 148 | extern int bb_xsocket(int domain, int type, int protocol); | 148 | extern int bb_xsocket(int domain, int type, int protocol); |
| 149 | extern void bb_xdaemon(int nochdir, int noclose); | 149 | extern void bb_xdaemon(int nochdir, int noclose); |
| 150 | extern void bb_xbind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen); | ||
| 151 | extern void bb_xlisten(int s, int backlog); | ||
| 150 | 152 | ||
| 151 | #define BB_GETOPT_ERROR 0x80000000UL | 153 | #define BB_GETOPT_ERROR 0x80000000UL |
| 152 | extern const char *bb_opt_complementally; | 154 | extern const char *bb_opt_complementally; |
