60 lines
1.4 KiB
C
60 lines
1.4 KiB
C
void die(char*, ...);
|
|
|
|
void sinit(Str*, char*, int);
|
|
void sclear(Str*);
|
|
void sputr(Str*, Rune);
|
|
void spopr(Str*);
|
|
void sappend(Str*, Str*);
|
|
int scmp(Str*, Str*);
|
|
int stoutf(Str*, char*, int);
|
|
Rune slastr(Str*);
|
|
|
|
Hmap* hmapalloc(int);
|
|
void hmapfree(Hmap*);
|
|
void hmapset(Hmap**, Str*, const char*, int);
|
|
Hnode* hmapget(Hmap*, Str*);
|
|
int mapget(Trie*, Str*, Str*);
|
|
|
|
Trie* trieopen(char*);
|
|
void trieclose(Trie*);
|
|
char* trieget(Trie*, char*, int, int*);
|
|
int trielookup(Trie*, char*, int, char**, int*);
|
|
|
|
Lang* getlang(int);
|
|
void mapinit(char*);
|
|
void dictinit(char*);
|
|
|
|
void dictthread(void*);
|
|
void dictlookup(Dictreq*, Dictres*);
|
|
|
|
void drawthread(void*);
|
|
int popupcells(Rune*, int);
|
|
void popupposition(Caret*, int, int, int, int, int, int, int*, int*);
|
|
void imthread(void*);
|
|
Emit transmap(Im*, Rune);
|
|
Emit transko(Im*, Rune);
|
|
Emit transvi(Im*, Rune);
|
|
void backko(Im*);
|
|
void backvi(Im*);
|
|
void dictsend(Im*, Str*);
|
|
uvlong ownernew(void);
|
|
|
|
int srvreadkey(int, Keyreq*);
|
|
void srvthread(void*);
|
|
void ibusthread(void*);
|
|
void waylandthread(void*);
|
|
void wlstateinit(Wlstate*);
|
|
int wlstatepress(Wlstate*, u32int, int, int, uvlong);
|
|
int wlstaterelease(Wlstate*, u32int);
|
|
void wlstaterepeatinfo(Wlstate*, int, int);
|
|
void wlstatecancelrepeat(Wlstate*);
|
|
void wlstateclear(Wlstate*);
|
|
int wlstatetimeout(Wlstate*, uvlong);
|
|
int wlstaterepeat(Wlstate*, uvlong, u32int*);
|
|
|
|
void* emalloc(ulong);
|
|
void* erealloc(void*, ulong);
|
|
|
|
int fontinit(char*);
|
|
void putfont(u32int*, int, int, int, int, Rune);
|