diff options
Diffstat (limited to 'x11vnc/inet.h')
-rw-r--r-- | x11vnc/inet.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/x11vnc/inet.h b/x11vnc/inet.h index 4ac7597..ae1c830 100644 --- a/x11vnc/inet.h +++ b/x11vnc/inet.h @@ -39,6 +39,7 @@ extern char *host2ip(char *host); extern char *raw2host(char *raw, int len); extern char *raw2ip(char *raw); extern char *ip2host(char *ip); +extern int ipv6_ip(char *host); extern int dotted_ip(char *host); extern int get_remote_port(int sock); extern int get_local_port(int sock); @@ -46,6 +47,12 @@ extern char *get_remote_host(int sock); extern char *get_local_host(int sock); extern char *ident_username(rfbClientPtr client); extern int find_free_port(int start, int end); +extern int find_free_port6(int start, int end); extern int have_ssh_env(void); +extern char *ipv6_getnameinfo(struct sockaddr *paddr, int addrlen); +extern char *ipv6_getipaddr(struct sockaddr *paddr, int addrlen); +extern int listen6(int port); +extern int connect_tcp(char *host, int port); +extern int listen_tcp(int port, in_addr_t iface, int try6); #endif /* _X11VNC_INET_H */ |