diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-11-28 16:00:18 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-11-28 16:00:18 +0000 |
commit | a32cd520bd6dd8a72b4e796edb943eb92bc16b3d (patch) | |
tree | f15fdbceec74ffdaf00cc6246cf435671e1fc728 /lib/multi.h | |
parent | b93a60daf965a507905fbf9553d35a204fbd05a1 (diff) |
more more more MORE
Diffstat (limited to 'lib/multi.h')
-rw-r--r-- | lib/multi.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/lib/multi.h b/lib/multi.h index 99ae86a57..3fe2bdf6a 100644 --- a/lib/multi.h +++ b/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() * |