#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 */
