this example does NOT use libevent!
authorDaniel Stenberg <daniel@haxx.se>
Mon, 24 Apr 2006 22:39:39 +0000 (22:39 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 24 Apr 2006 22:39:39 +0000 (22:39 +0000)
hiper/shiper.c

index dc78c64..aeb45da 100644 (file)
@@ -16,7 +16,8 @@
  * The same is hiper.c but instead using the new *socket() API instead of the
  * "old" *perform() call.
  *
- * Uses libevent.
+ * Uses a select() approach but only for keeping the code simple and
+ * stand-alone. See hipev.c for a libevent-based example.
  *
  */
 
@@ -33,8 +34,6 @@
 
 #include <curl/curl.h>
 
-#include <event.h> /* for libevent */
-
 #ifndef FALSE
 #define FALSE 0
 #endif
@@ -84,7 +83,6 @@ struct fdinfo {
   CURL *easy;
   int action; /* as set by libcurl */
   long timeout; /* as set by libcurl */
-  struct event ev;
 };
 
 static struct fdinfo *allsocks;