shithub: riscv

ref: 51d7d3eb6aee563d489f52258f6bc16d43cc50de
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*);