shithub: riscv

ref: c59eb6d117c6dc99bc6e4330d3a9a3453888dee7
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;
extern	int		kbdin;

void			screenputs(char*, int);
void			vncputc(int, int);
void			setsnarf(char *buf, int n, int *vers);