this example does NOT use libevent!
This commit is contained in:
parent
db03d4bdd0
commit
8f0a5ab660
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user