summaryrefslogtreecommitdiff
path: root/ares_save_options.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-12-03 09:59:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-12-03 09:59:50 +0000
commite61d4b9e21578a5b77118030a6711bbbb9abd7de (patch)
treeff192f64441998a74a164678cdb192133d746c50 /ares_save_options.3
parentefa7c4807b26bf919b72d9392a036601a88b717b (diff)
downloadc-ares-e61d4b9e21578a5b77118030a6711bbbb9abd7de.tar.gz
c-ares-e61d4b9e21578a5b77118030a6711bbbb9abd7de.tar.bz2
c-ares-e61d4b9e21578a5b77118030a6711bbbb9abd7de.zip
Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.
Also discussed on the ml.
Diffstat (limited to 'ares_save_options.3')
-rw-r--r--ares_save_options.317
1 files changed, 11 insertions, 6 deletions
diff --git a/ares_save_options.3 b/ares_save_options.3
index 46fd596..79f9db9 100644
--- a/ares_save_options.3
+++ b/ares_save_options.3
@@ -24,9 +24,7 @@ ares_save_options \- Save configuration values obtained from initialized ares_ch
.B void ares_save_options(ares_channel \fIchannel\fP, struct ares_options *\fIoptions\fP, int *\fIoptmask\fP)
.fi
.SH DESCRIPTION
-The
-.B ares_save_options
-function saves the channel data identified by
+The \fBares_save_options(3)\fP function saves the channel data identified by
.IR channel ,
into the options struct identified by
.IR options ,
@@ -38,11 +36,18 @@ The resultant options and optmask are then able to be
passed directly to ares_init_options. When the options
are no longer needed, ares_destroy_options should be called
to free any associated memory.
-
-
+.SH NOTE
+Since c-ares 1.6.0 the ares_options struct has been "locked" meaning that it
+won't be extended to cover new funtions. This function will remain
+functioning, but it can only return config data that can be represented in
+this config struct, which may no longer be the complete set of config
+options. \fBares_dup(3)\fP will not have that restriction.
.SH SEE ALSO
.BR ares_destroy_options (3),
-.BR ares_init_options (3)
+.BR ares_init_options (3),
+.BR ares_dup (3)
+.SH AVAILABILITY
+ares_save_options(3) was added in c-ares 1.4.0
.SH AUTHOR
Brad House
.br