ZeroTierOne/netcon/NetconUtilities.hpp

16 lines
317 B
C++
Raw Normal View History

2015-09-10 17:56:01 +00:00
#ifndef _NETCON_UTILITIES_H
#define _NETCON_UTILITIES_H
2015-09-11 00:02:13 +00:00
namespace ZeroTier
{
2015-09-11 00:22:35 +00:00
//ip_addr_t convert_ip(struct sockaddr_in * addr);
2015-09-11 00:02:13 +00:00
ip_addr_t ip_addr_sin(register struct sockaddr_in *sin);
ssize_t sock_fd_write(int sock, int fd);
ssize_t sock_fd_read(int sock, void *buf, ssize_t bufsize, int *fd);
2015-09-11 00:22:35 +00:00
2015-09-11 00:02:13 +00:00
}
2015-09-10 17:56:01 +00:00
#endif