ref: 6280c0f17bf3919cf6c2506fec6edfa0a7ec10fe
dir: /sys/src/cmd/vnc/kbd.h/
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);