Added prototype for `mini_inetd', and fallback definitions for

SOMAXCONN, STDIN_FILENO, and STDOUT_FILENO.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@759 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-09-27 00:10:33 +00:00
parent 6350b3bdd3
commit 7ad859dc80
2 changed files with 28 additions and 0 deletions

View File

@@ -87,4 +87,18 @@ int unix_verify_user(char *user, char *password);
void inaddr2str(struct in_addr addr, char *s, size_t len);
void mini_inetd (int port);
#ifndef SOMAXCONN
#define SOMAXCONN 5
#endif
#ifndef STDIN_FILENO
#define STDIN_FILENO 0
#endif
#ifndef STDOUT_FILENO
#define STDOUT_FILENO 1
#endif
#endif /* __ROKEN_H__ */

View File

@@ -87,4 +87,18 @@ int unix_verify_user(char *user, char *password);
void inaddr2str(struct in_addr addr, char *s, size_t len);
void mini_inetd (int port);
#ifndef SOMAXCONN
#define SOMAXCONN 5
#endif
#ifndef STDIN_FILENO
#define STDIN_FILENO 0
#endif
#ifndef STDOUT_FILENO
#define STDOUT_FILENO 1
#endif
#endif /* __ROKEN_H__ */