[svn] Generalized the third argument to select_fd.

This commit is contained in:
hniksic
2003-11-02 15:17:59 -08:00
parent c12e07faa6
commit 6d3df65e88
4 changed files with 33 additions and 16 deletions

View File

@@ -37,6 +37,12 @@ enum {
E_HOST = -100
};
/* Flags for select_fd's WAIT argument. */
enum {
WAIT_READ = 1,
WAIT_WRITE = 2
};
/* bindport flags */
#define BIND_ON_IPV4_ONLY LH_IPV4_ONLY
#define BIND_ON_IPV6_ONLY LH_IPV6_ONLY