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:
@@ -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__ */
|
||||
|
@@ -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__ */
|
||||
|
Reference in New Issue
Block a user