diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-04-24 22:39:39 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-04-24 22:39:39 +0000 |
commit | 8f0a5ab66055be007e495a348ca3a2be24018829 (patch) | |
tree | 69ed71896253b10ecc8bd1d4b96e1dd5511a3775 /hiper | |
parent | db03d4bdd0aa5b2eaef8fb0987310fe5c0ff0570 (diff) | |
download | curl-8f0a5ab66055be007e495a348ca3a2be24018829.tar.gz |
this example does NOT use libevent!
Diffstat (limited to 'hiper')
-rw-r--r-- | hiper/shiper.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hiper/shiper.c b/hiper/shiper.c index dc78c6478..aeb45dac8 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 <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; |