mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:05:06 -05:00
privops: add support for privileged DNS_Name2IPAddress()
This commit is contained in:
@@ -52,6 +52,12 @@ int PRV_BindSocket(int sock, struct sockaddr *address, socklen_t address_len);
|
||||
#define PRV_BindSocket bind
|
||||
#endif
|
||||
|
||||
#ifdef PRIVOPS_NAME2IPADDRESS
|
||||
int PRV_Name2IPAddress(const char *name, IPAddr *ip_addrs, int max_addrs);
|
||||
#else
|
||||
#define PRV_Name2IPAddress DNS_Name2IPAddress
|
||||
#endif
|
||||
|
||||
#ifdef PRIVOPS_HELPER
|
||||
void PRV_Initialise(void);
|
||||
void PRV_StartHelper(void);
|
||||
|
||||
Reference in New Issue
Block a user