|
Home --> Documentations --> PJLIB-UTIL Reference
config.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __PJLIB_UTIL_CONFIG_H__
00021 #define __PJLIB_UTIL_CONFIG_H__
00022
00023
00036
00037
00038
00039
00043 #ifndef PJ_DNS_MAX_IP_IN_A_REC
00044 # define PJ_DNS_MAX_IP_IN_A_REC 8
00045 #endif
00046
00047
00051 #ifndef PJ_DNS_SRV_MAX_ADDR
00052 # define PJ_DNS_SRV_MAX_ADDR 8
00053 #endif
00054
00055
00068 #ifndef PJ_DNS_MAX_NAMES_IN_NAMETABLE
00069 # define PJ_DNS_MAX_NAMES_IN_NAMETABLE 16
00070 #endif
00071
00072
00073
00074
00075
00076
00077
00081 #ifndef PJ_DNS_RESOLVER_MAX_NS
00082 # define PJ_DNS_RESOLVER_MAX_NS 16
00083 #endif
00084
00085
00092 #ifndef PJ_DNS_RESOLVER_QUERY_RETRANSMIT_DELAY
00093 # define PJ_DNS_RESOLVER_QUERY_RETRANSMIT_DELAY 2000
00094 #endif
00095
00096
00103 #ifndef PJ_DNS_RESOLVER_QUERY_RETRANSMIT_COUNT
00104 # define PJ_DNS_RESOLVER_QUERY_RETRANSMIT_COUNT 5
00105 #endif
00106
00107
00117 #ifndef PJ_DNS_RESOLVER_MAX_TTL
00118 # define PJ_DNS_RESOLVER_MAX_TTL (5*60)
00119 #endif
00120
00131 #ifndef PJ_DNS_RESOLVER_INVALID_TTL
00132 # define PJ_DNS_RESOLVER_INVALID_TTL 60
00133 #endif
00134
00148 #ifndef PJ_DNS_RESOLVER_GOOD_NS_TTL
00149 # define PJ_DNS_RESOLVER_GOOD_NS_TTL (10*60)
00150 #endif
00151
00160 #ifndef PJ_DNS_RESOLVER_BAD_NS_TTL
00161 # define PJ_DNS_RESOLVER_BAD_NS_TTL (1*60)
00162 #endif
00163
00164
00171 #ifndef PJ_DNS_RESOLVER_MAX_UDP_SIZE
00172 # define PJ_DNS_RESOLVER_MAX_UDP_SIZE 512
00173 #endif
00174
00175
00184 #ifndef PJ_DNS_RESOLVER_RES_BUF_SIZE
00185 # define PJ_DNS_RESOLVER_RES_BUF_SIZE 512
00186 #endif
00187
00188
00194 #ifndef PJ_DNS_RESOLVER_TMP_BUF_SIZE
00195 # define PJ_DNS_RESOLVER_TMP_BUF_SIZE 4000
00196 #endif
00197
00198
00199
00200
00201
00202
00203
00209 #ifndef PJ_SCANNER_USE_BITWISE
00210 # define PJ_SCANNER_USE_BITWISE 1
00211 #endif
00212
00213
00214
00215
00216
00217
00218
00225 #ifndef PJSTUN_MAX_ATTR
00226 # define PJSTUN_MAX_ATTR 16
00227 #endif
00228
00229
00236 #ifndef PJ_STUN_MAX_ATTR
00237 # define PJ_STUN_MAX_ATTR 16
00238 #endif
00239
00240
00241
00242
00243
00244
00253 #ifndef PJ_CRC32_HAS_TABLES
00254 # define PJ_CRC32_HAS_TABLES 1
00255 #endif
00256
00257
00258
00259
00260
00265 #ifndef PJ_HTTP_DEFAULT_TIMEOUT
00266 # define PJ_HTTP_DEFAULT_TIMEOUT (60000)
00267 #endif
00268
00273 #endif
00274
PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
Copyright (C) 2006-2009 Teluu Inc.
|