ref: d5d37c957e27e77ab0e77a4d95d5ea5ca62238b6
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;
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);