Changeset 753 for pjproject/trunk/pjsip/include/pjsip/sip_config.h
- Timestamp:
- Oct 8, 2006 12:39:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_config.h
r695 r753 198 198 # define PJSIP_MAX_TRANSPORT_USAGE ((unsigned)-1) 199 199 #endif 200 201 202 /** 203 * This macro specifies whether full DNS resolution should be used. 204 * When enabled, #pjsip_resolve() will perform asynchronous DNS SRV and 205 * A (or AAAA, when IPv6 is supported) resolution to resolve the SIP 206 * domain. 207 * 208 * Note that even when this setting is enabled, asynchronous DNS resolution 209 * will only be done when application calls #pjsip_endpt_create_resolver(), 210 * configure the nameservers with #pj_dns_resolver_set_ns(), and configure 211 * the SIP endpoint's DNS resolver with #pjsip_endpt_set_resolver(). If 212 * these steps are not followed, the domain will be resolved with normal 213 * pj_gethostbyname() function. 214 * 215 * Turning off this setting will save the footprint by about 16KB, since 216 * it should also exclude dns.o and resolve.o from PJLIB-UTIL. 217 * 218 * Default: 1 (enabled) 219 */ 220 #ifndef PJSIP_HAS_RESOLVER 221 # define PJSIP_HAS_RESOLVER 1 222 #endif 223 224 225 /** 226 * Maximum number of addresses returned by the resolver. The number here 227 * will slightly affect stack usage, since each entry will occupy about 228 * 32 bytes of stack memory. 229 * 230 * Default: 8 231 */ 232 #ifndef PJSIP_MAX_RESOLVED_ADDRESSES 233 # define PJSIP_MAX_RESOLVED_ADDRESSES 8 234 #endif 235 200 236 201 237
Note: See TracChangeset
for help on using the changeset viewer.