mirror of
https://github.com/curl/curl.git
synced 2026-01-18 17:21:26 +01:00
multi.h: add CURLMINFO_LASTENTRY
For multiple enums, we use LASTENTRY values to do range checks when receiving an option as integer. So I added LASTENTRY, so the check will work, even if you add more options later. Closes #18578
This commit is contained in:
committed by
Daniel Stenberg
parent
74fdc1185f
commit
3031fae3bd
@@ -464,7 +464,9 @@ typedef enum {
|
||||
* be read via `curl_multi_info_read()`. */
|
||||
CURLMINFO_XFERS_DONE = 4,
|
||||
/* The total number of easy handles added to the multi handle, ever. */
|
||||
CURLMINFO_XFERS_ADDED = 5
|
||||
CURLMINFO_XFERS_ADDED = 5,
|
||||
|
||||
CURLMINFO_LASTENTRY /* the last unused */
|
||||
} CURLMinfo_offt;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user