mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 00:15:07 -05:00
Add IPv6 support
This commit is contained in:
@@ -32,13 +32,11 @@
|
||||
#ifndef GOT_NAMESERV_H
|
||||
#define GOT_NAMESERV_H
|
||||
|
||||
static const unsigned long DNS_Failed_Address = 0x0UL;
|
||||
#include "addressing.h"
|
||||
|
||||
extern unsigned long DNS_Name2IPAddress(const char *name);
|
||||
extern int DNS_Name2IPAddress(const char *name, IPAddr *addr, int retry);
|
||||
|
||||
extern unsigned long DNS_Name2IPAddressRetry(const char *name);
|
||||
|
||||
const char *DNS_IPAddress2Name(unsigned long ip_addr);
|
||||
extern void DNS_IPAddress2Name(IPAddr *ip_addr, char *name, int len);
|
||||
|
||||
#endif /* GOT_NAMESERV_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user