mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 04:05:07 -05:00
socket: add support for opening socket pairs
This commit is contained in:
1
socket.h
1
socket.h
@@ -98,6 +98,7 @@ extern int SCK_OpenUnixDatagramSocket(const char *remote_addr, const char *local
|
||||
int flags);
|
||||
extern int SCK_OpenUnixStreamSocket(const char *remote_addr, const char *local_addr,
|
||||
int flags);
|
||||
extern int SCK_OpenUnixSocketPair(int flags, int *other_fd);
|
||||
|
||||
/* Set and get a socket option of int size */
|
||||
extern int SCK_SetIntOption(int sock_fd, int level, int name, int value);
|
||||
|
||||
Reference in New Issue
Block a user