summaryrefslogtreecommitdiffstats
path: root/x11vnc/sslhelper.h
diff options
context:
space:
mode:
authorrunge <runge>2007-03-24 23:27:32 +0000
committerrunge <runge>2007-03-24 23:27:32 +0000
commit61c56222b3becbbc8f0bafef7602baae9f8fd7d9 (patch)
treeb5100fe6e64e0ca25429bf53ddbba8978412a63d /x11vnc/sslhelper.h
parentf1bfe53f4fab7996292846a68e075ebe76d107e7 (diff)
downloadlibtdevnc-61c56222b3becbbc8f0bafef7602baae9f8fd7d9.tar.gz
libtdevnc-61c56222b3becbbc8f0bafef7602baae9f8fd7d9.zip
x11vnc: reverse SSL connections. -sleepin option.
Diffstat (limited to 'x11vnc/sslhelper.h')
-rw-r--r--x11vnc/sslhelper.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/x11vnc/sslhelper.h b/x11vnc/sslhelper.h
index 5caa178..939c3ea 100644
--- a/x11vnc/sslhelper.h
+++ b/x11vnc/sslhelper.h
@@ -4,9 +4,10 @@
/* -- sslhelper.h -- */
-#define OPENSSL_INETD 1
-#define OPENSSL_VNC 2
-#define OPENSSL_HTTPS 3
+#define OPENSSL_INETD 1
+#define OPENSSL_VNC 2
+#define OPENSSL_HTTPS 3
+#define OPENSSL_REVERSE 4
extern int openssl_sock;
extern int openssl_port_num;
@@ -17,13 +18,13 @@ extern char *openssl_last_ip;
extern void raw_xfer(int csock, int s_in, int s_out);
extern int openssl_present(void);
-extern void openssl_init(void);
+extern void openssl_init(int);
extern void openssl_port(void);
extern void https_port(void);
extern void check_openssl(void);
extern void check_https(void);
extern void ssl_helper_pid(pid_t pid, int sock);
-extern void accept_openssl(int mode);
+extern void accept_openssl(int mode, int presock);
extern char *find_openssl_bin(void);
extern char *get_saved_pem(char *string, int create);