more more more MORE

This commit is contained in:
Daniel Stenberg
2001-11-28 16:00:18 +00:00
parent b93a60daf9
commit a32cd520bd
2 changed files with 51 additions and 12 deletions

View File

@@ -62,14 +62,23 @@ typedef enum {
CURLM_LAST
} CURLMcode;
typedef enum {
CURLMSG_NONE, /* first, not used */
CURLMSG_DONE, /* This easy handle has completed. 'whatever' points to
the CURLcode of the transfer */
CURLMSG_LAST /* last, not used */
} CURLMSG;
struct CURLMsg {
CURL *easy_handle;
void *whatever;
CURLMSG msg; /* what this message means */
CURL *easy_handle; /* the handle it concerns */
union {
void *whatever; /* message-specific data */
CURLcode result; /* return code for transfer */
} data;
};
typedef struct CURLMsg CURLMsg;
typedef void * CURLMinfo;
/*
* Name: curl_multi_init()
*