-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfns.h
63 lines (50 loc) · 1.3 KB
/
fns.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/* byte.c*/
short igets(uchar*);
long igetl(uchar*);
void iputs(uchar*, short);
void iputl(uchar*, long);
short nhgets(uchar*);
long nhgetl(uchar*);
void hnputs(uchar*, short);
void hnputl(uchar*, long);
/* mcs.c */
int mcschan(uchar*,uchar*);
int mcstype(uchar*,uchar*);
int ismcshangup(uchar*,uchar*);
uchar* mcsdat(uchar*,uchar*);
int mkmcsci(uchar*, int, int);
int putmsdr(uchar*,int,int,int,int);
/* mpas.c */
int isflowpdu(uchar*,uchar*);
int sizesechdr(int);
uchar* txprep(uchar*,int,int,int,int,int);
/* snarf.c */
void initsnarf(void);
char* getsnarfn(int*);
void putsnarfn(char*,int);
/* mouse.c */
void warpmouse(int,int);
/* mppc.c */
uchar* uncomp(uchar*,int,int,int*);
/* rle.c */
uchar* unrle(uchar*,int, uchar*,int,int,int);
/* utf16.c */
int fromutf16(char*,int,uchar*,int);
int toutf16(uchar*,int,char*,int);
/* x224.c */
int mktpdat(uchar*,int,int);
int readpdu(int,uchar*,uint);
int mktpcr(uchar*,int,int);
int mktpdr(uchar*,int,int);
int istpkt(uchar*,uchar*);
int tptype(uchar*,uchar*);
uchar* tpdat(uchar*,uchar*);
/* rd.c */
void atexitkiller(void);
void atexitkill(int pid);
void* emalloc(ulong);
void* erealloc(void*,ulong);
uchar* gblen(uchar*,uchar*,int*);
uchar* gbtag(uchar*,uchar*,int*);
void pbshort(uchar*,int);
uchar* putsdh(uchar*,uchar*,int,int,int,int);