Changeset View
Changeset View
Standalone View
Standalone View
src/seeder/dns.h
Show All 20 Lines | struct dns_opt_t { | ||||
uint32_t (*cb)(void *opt, char *requested_hostname, addr_t *addr, | uint32_t (*cb)(void *opt, char *requested_hostname, addr_t *addr, | ||||
uint32_t max, uint32_t ipv4, uint32_t ipv6); | uint32_t max, uint32_t ipv4, uint32_t ipv6); | ||||
// stats | // stats | ||||
uint64_t nRequests; | uint64_t nRequests; | ||||
}; | }; | ||||
int dnsserver(dns_opt_t *opt); | int dnsserver(dns_opt_t *opt); | ||||
#endif | #endif // BITCOIN_SEEDER_DNS_H |