summaryrefslogtreecommitdiffstats
path: root/x11vnc/inet.h
diff options
context:
space:
mode:
authorrunge <runge>2006-01-09 01:54:38 +0000
committerrunge <runge>2006-01-09 01:54:38 +0000
commit71f2ec79180185a6c3db0c87f9d53c491dc31e76 (patch)
tree67c341571cbeb1bd9a0744cc8eb03b30ef04f381 /x11vnc/inet.h
parentdef301266373e462f4a5e90eab443087ccfc7ccc (diff)
downloadlibvncserver-71f2ec79180185a6c3db0c87f9d53c491dc31e76.zip
libvncserver-71f2ec79180185a6c3db0c87f9d53c491dc31e76.tar.gz
x11vnc: the big split.
Diffstat (limited to 'x11vnc/inet.h')
-rw-r--r--x11vnc/inet.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11vnc/inet.h b/x11vnc/inet.h
new file mode 100644
index 0000000..4ca7c6b
--- /dev/null
+++ b/x11vnc/inet.h
@@ -0,0 +1,17 @@
+#ifndef _X11VNC_INET_H
+#define _X11VNC_INET_H
+
+/* -- inet.h -- */
+
+extern char *host2ip(char *host);
+extern char *raw2host(char *raw, int len);
+extern char *raw2ip(char *raw);
+extern char *ip2host(char *ip);
+extern int dotted_ip(char *host);
+extern int get_remote_port(int sock);
+extern int get_local_port(int sock);
+extern char *get_remote_host(int sock);
+extern char *get_local_host(int sock);
+extern char *ident_username(rfbClientPtr client);
+
+#endif /* _X11VNC_INET_H */
OpenPOWER on IntegriCloud