shithub: riscv

ref: 5648d53cdbccdf9fd2f4eb0290f75e3ba23c0de8
dir: /sys/src/cmd/vnc/kbd.h/

View raw version
typedef struct	Snarf	Snarf;

struct Snarf
{
	QLock;
	int		vers;
	int		n;
	char		*buf;
};

enum
{
	MAXSNARF	= 100*1024
};

extern	Snarf		snarf;

long			latin1(Rune *k, int n);
void			kbdputc(int c);
void			screenputs(char*, int);
void			vncputc(int, int);
void			setsnarf(char *buf, int n, int *vers);