You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
806 B
33 lines
806 B
#ifndef _X11VNC_SSLHELPER_H
|
|
#define _X11VNC_SSLHELPER_H
|
|
|
|
/* -- sslhelper.h -- */
|
|
|
|
|
|
#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;
|
|
extern int https_sock;
|
|
extern pid_t openssl_last_helper_pid;
|
|
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(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, int presock);
|
|
extern char *find_openssl_bin(void);
|
|
extern char *get_saved_pem(char *string, int create);
|
|
|
|
|
|
#endif /* _X11VNC_SSLHELPER_H */
|