mirror of https://github.com/getdnsapi/getdns.git
Update constants
This commit is contained in:
parent
3e97e1f032
commit
13ddf9ad83
|
@ -71,6 +71,9 @@ typedef struct host_name_addrs {
|
|||
uint8_t host_name[];
|
||||
} host_name_addrs;
|
||||
|
||||
|
||||
/* If changing these lists also remember to
|
||||
change the value of GETDNS_UPSTREAM_TRANSPORTS */
|
||||
static getdns_transport_list_t
|
||||
getdns_upstream_transports[GETDNS_UPSTREAM_TRANSPORTS] = {
|
||||
GETDNS_TRANSPORT_TCP,
|
||||
|
|
|
@ -116,8 +116,8 @@ struct getdns_upstream;
|
|||
#define TIMEOUT_FOREVER ((int64_t)-1)
|
||||
#define ASSERT_UNREACHABLE 0
|
||||
|
||||
#define GETDNS_TRANSPORTS_MAX 4
|
||||
#define GETDNS_UPSTREAM_TRANSPORTS 3
|
||||
#define GETDNS_TRANSPORTS_MAX 3
|
||||
#define GETDNS_UPSTREAM_TRANSPORTS 2
|
||||
|
||||
/** @}
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue