chiark / gitweb /
socket-proxyd: rework to support multiple sockets and splice()-based zero-copy network IO
[elogind.git] / src / shared / socket-util.h
index 0b9bf2fefc50df0d8c498d9d36e9367d4d181aaa..13566f96917e614148abb3b7b138e17408ba318c 100644 (file)
@@ -99,3 +99,5 @@ int netlink_family_to_string_alloc(int b, char **s);
 int netlink_family_from_string(const char *s);
 
 bool socket_ipv6_is_supported(void);
+
+int getpeername_pretty(int fd, char **ret);