shithub: riscv

ref: a1c3c34c70431447a89fbe08c3475dbfaee7b672
dir: /sys/src/cmd/ktrans/ktrans.h/

View raw version
typedef	struct	Map	Map;
struct	Map {
	char	*roma;
	char	*kana;
	char leadstomore;
};

typedef struct Msg Msg;
struct Msg {
	char code;
	char buf[64];
};

typedef struct Trans Trans;
struct Trans {
	Channel *input;
	Channel *output;
	Channel *dict;
	Channel *done;
	Channel *lang;
};

void	keyproc(void*);
void	launchfs(char*,char*,char*);
int	parselang(char*);