mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:55:07 -05:00
ntp: rename NIO_Get*Socket functions
This commit is contained in:
6
ntp_io.h
6
ntp_io.h
@@ -39,12 +39,12 @@ extern void NIO_Initialise(int family);
|
||||
extern void NIO_Finalise(void);
|
||||
|
||||
/* Function to obtain a socket for sending client packets */
|
||||
extern int NIO_GetClientSocket(NTP_Remote_Address *remote_addr);
|
||||
extern int NIO_OpenClientSocket(NTP_Remote_Address *remote_addr);
|
||||
|
||||
/* Function to obtain a socket for sending server/peer packets */
|
||||
extern int NIO_GetServerSocket(NTP_Remote_Address *remote_addr);
|
||||
extern int NIO_OpenServerSocket(NTP_Remote_Address *remote_addr);
|
||||
|
||||
/* Function to close a socket returned by NIO_GetClientSocket() */
|
||||
/* Function to close a socket returned by NIO_OpenClientSocket() */
|
||||
extern void NIO_CloseClientSocket(int sock_fd);
|
||||
|
||||
/* Function to check if socket is a server socket */
|
||||
|
||||
Reference in New Issue
Block a user