]> sjero.net Git - wget/blobdiff - src/connect.h
[svn] Generalized the third argument to select_fd.
[wget] / src / connect.h
index ab161c0b7d25061f4df56805f39aed0cf8ce460d..8b0ed4b31d57605e8ac9ed87248fb7bb877a4fb6 100644 (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