mirror of
https://github.com/curl/curl.git
synced 2026-07-23 00:27:24 +03: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:
parent
74fdc1185f
commit
3031fae3bd
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue