1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Let's not call ares_save_options() deprecated just yet

This commit is contained in:
Daniel Stenberg 2008-12-03 10:03:07 +00:00
parent dd3594c6b3
commit 04ee89493e

View File

@ -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 {