1ARES_SAVE_OPTIONS(3) Library Functions Manual ARES_SAVE_OPTIONS(3)
2
3
4
6 ares_save_options - Save configuration values obtained from initialized
7 ares_channel
8
10 #include <ares.h>
11
12 void ares_save_options(ares_channel channel, struct ares_options *options, int *optmask)
13
15 The ares_save_options function saves the channel data identified by
16 channel, into the options struct identified by options, and saves the
17 mask of options which are set to the integer pointer (passed by refer‐
18 ence) identified by optmask.
19
20 The resultant options and optmask are then able to be passed directly
21 to ares_init_options. When the options are no longer needed,
22 ares_destroy_options should be called to free any associated memory.
23
24
25
27 ares_destroy_options(3), ares_init_options(3)
28
30 Brad House
31 Copyright 1998 by the Massachusetts Institute of Technology.
32
33
34
35 1 June 2007 ARES_SAVE_OPTIONS(3)