summaryrefslogtreecommitdiffstats
path: root/x11vnc/params.h
blob: 87956623192f9706bcc454f0f3b0dc95e3839571 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#ifndef _X11VNC_PARAMS_H
#define _X11VNC_PARAMS_H

/* -- params.h -- */

#define ICON_MODE_SOCKS 16

/* had lw=3 for a long time */
#ifndef WIREFRAME_PARMS
#define WIREFRAME_PARMS "0xff,2,0,32+8+8+8,all,0.15+0.30+5.0+0.125"
#endif

#ifndef SCROLL_COPYRECT_PARMS
#define SCROLL_COPYRECT_PARMS "0+64+32+32,0.02+0.10+0.9,0.03+0.06+0.5+0.1+5.0"
#endif

#ifndef POLL_8TO24_DELAY
#define POLL_8TO24_DELAY 0.05
#endif

#define LATENCY0 20     /* 20ms */
#define NETRATE0 20     /* 20KB/sec */

#define POINTER_MODE_NOFB 2

/* scan pattern jitter from x0rfbserver */
#define NSCAN 32

#define FB_COPY 0x1
#define FB_MOD  0x2
#define FB_REQ  0x4

#define VNC_CONNECT_MAX 16384
#define X11VNC_REMOTE_MAX 16384
#define PROP_MAX (131072L)

#define MAXN 256

#define PIPEINPUT_NONE		0x0
#define PIPEINPUT_VID		0x1
#define PIPEINPUT_CONSOLE	0x2
#define PIPEINPUT_UINPUT	0x3
#define PIPEINPUT_MACOSX	0x4
#define PIPEINPUT_VNC		0x5

#define MAX_BUTTONS 5

#define ROTATE_NONE		0
#define ROTATE_X		1
#define ROTATE_Y		2
#define ROTATE_XY		3
#define ROTATE_90		4
#define ROTATE_90X		5
#define ROTATE_90Y		6
#define ROTATE_270		7

#define VENCRYPT_NONE		0
#define VENCRYPT_SUPPORT	1
#define VENCRYPT_SOLE		2
#define VENCRYPT_FORCE		3

#define VENCRYPT_BOTH		0
#define VENCRYPT_NODH		1
#define VENCRYPT_NOX509		2

#define ANONTLS_NONE		0
#define ANONTLS_SUPPORT		1
#define ANONTLS_SOLE		2
#define ANONTLS_FORCE		3

#endif /* _X11VNC_PARAMS_H */