mirror of
https://github.com/curl/curl.git
synced 2026-08-01 09:18:04 +03:00
more more more MORE
This commit is contained in:
parent
b93a60daf9
commit
a32cd520bd
2 changed files with 51 additions and 12 deletions
17
lib/multi.h
17
lib/multi.h
|
|
@ -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()
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue