1 /* 2 Copyright (C) 2002-2010 Karl J. Runge <runge@karlrunge.com> 3 All rights reserved. 4 5 This file is part of x11vnc. 6 7 x11vnc is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation; either version 2 of the License, or (at 10 your option) any later version. 11 12 x11vnc is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with x11vnc; if not, write to the Free Software 19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA 20 or see <http://www.gnu.org/licenses/>. 21 22 In addition, as a special exception, Karl J. Runge 23 gives permission to link the code of its release of x11vnc with the 24 OpenSSL project's "OpenSSL" library (or with modified versions of it 25 that use the same license as the "OpenSSL" library), and distribute 26 the linked executables. You must obey the GNU General Public License 27 in all respects for all of the code used other than "OpenSSL". If you 28 modify this file, you may extend this exception to your version of the 29 file, but you are not obligated to do so. If you do not wish to do 30 so, delete this exception statement from your version. 31 */ 32 33 #ifndef _X11VNC_PARAMS_H 34 #define _X11VNC_PARAMS_H 35 36 /* -- params.h -- */ 37 38 #define ICON_MODE_SOCKS 16 39 40 /* had lw=3 for a long time */ 41 #ifndef WIREFRAME_PARMS 42 #define WIREFRAME_PARMS "0xff,2,0,32+8+8+8,all,0.15+0.30+5.0+0.125" 43 #endif 44 45 #ifndef SCROLL_COPYRECT_PARMS 46 #define SCROLL_COPYRECT_PARMS "0+64+32+32,0.02+0.10+0.9,0.03+0.06+0.5+0.1+5.0" 47 #endif 48 49 #ifndef POLL_8TO24_DELAY 50 #define POLL_8TO24_DELAY 0.05 51 #endif 52 53 #define LATENCY0 20 /* 20ms */ 54 #define NETRATE0 20 /* 20KB/sec */ 55 56 #define POINTER_MODE_NOFB 2 57 58 /* scan pattern jitter from x0rfbserver */ 59 #define NSCAN 32 60 61 #define FB_COPY 0x1 62 #define FB_MOD 0x2 63 #define FB_REQ 0x4 64 65 #define VNC_CONNECT_MAX 16384 66 #define X11VNC_REMOTE_MAX 65536 67 #define PROP_MAX (262144L) 68 69 #define MAXN 256 70 71 #define PIPEINPUT_NONE 0x0 72 #define PIPEINPUT_VID 0x1 73 #define PIPEINPUT_CONSOLE 0x2 74 #define PIPEINPUT_UINPUT 0x3 75 #define PIPEINPUT_MACOSX 0x4 76 #define PIPEINPUT_VNC 0x5 77 78 #define MAX_BUTTONS 5 79 80 #define ROTATE_NONE 0 81 #define ROTATE_X 1 82 #define ROTATE_Y 2 83 #define ROTATE_XY 3 84 #define ROTATE_90 4 85 #define ROTATE_90X 5 86 #define ROTATE_90Y 6 87 #define ROTATE_270 7 88 89 #define VENCRYPT_NONE 0 90 #define VENCRYPT_SUPPORT 1 91 #define VENCRYPT_SOLE 2 92 #define VENCRYPT_FORCE 3 93 94 #define VENCRYPT_BOTH 0 95 #define VENCRYPT_NODH 1 96 #define VENCRYPT_NOX509 2 97 98 #define ANONTLS_NONE 0 99 #define ANONTLS_SUPPORT 1 100 #define ANONTLS_SOLE 2 101 #define ANONTLS_FORCE 3 102 103 #endif /* _X11VNC_PARAMS_H */ 104