From: Daniel Stenberg Date: Mon, 24 Apr 2006 22:39:39 +0000 (+0000) Subject: this example does NOT use libevent! X-Git-Tag: curl-7_15_4~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f0a5ab66055be007e495a348ca3a2be24018829;p=thirdparty%2Fcurl.git this example does NOT use libevent! --- diff --git a/hiper/shiper.c b/hiper/shiper.c index dc78c6478e..aeb45dac84 100644 --- a/hiper/shiper.c +++ b/hiper/shiper.c @@ -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 -#include /* 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;