mirror of
https://github.com/curl/curl.git
synced 2026-07-23 11:37:16 +03:00
Let's not call ares_save_options() deprecated just yet
This commit is contained in:
parent
dd3594c6b3
commit
04ee89493e
1 changed files with 5 additions and 8 deletions
13
ares/ares.h
13
ares/ares.h
|
|
@ -190,14 +190,11 @@ struct apattern;
|
|||
ares_set_*() options and the ares_init_options() function will become
|
||||
deprecated.
|
||||
|
||||
ares_save_options() is considered deprecated as of right now. Use ares_dup()
|
||||
instead!
|
||||
|
||||
So, if new options are added they are not added to this struct. And they
|
||||
are not "saved" with the ares_save_options() function but instead we
|
||||
encourage the use of the ares_dup() function. Needless to say, if you add
|
||||
config options to c-ares you need to make sure ares_dup() duplicates this
|
||||
new option.
|
||||
When new options are added to c-ares, they are not added to this
|
||||
struct. And they are not "saved" with the ares_save_options() function but
|
||||
instead we encourage the use of the ares_dup() function. Needless to say,
|
||||
if you add config options to c-ares you need to make sure ares_dup()
|
||||
duplicates this new option.
|
||||
|
||||
*/
|
||||
struct ares_options {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue