tfns.h - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
tfns.h (888B) | |
--- | |
1 int mbunpack(MetaBlock *mb, uchar *p, int n); | |
2 void mbinsert(MetaBlock *mb, int i, MetaEntry*); | |
3 void mbdelete(MetaBlock *mb, int i, MetaEntry*); | |
4 void mbpack(MetaBlock *mb); | |
5 uchar *mballoc(MetaBlock *mb, int n); | |
6 void mbinit(MetaBlock *mb, uchar *p, int n, int entries); | |
7 int mbsearch(MetaBlock*, char*, int*, MetaEntry*); | |
8 int mbresize(MetaBlock*, MetaEntry*, int); | |
9 | |
10 int meunpack(MetaEntry*, MetaBlock *mb, int i); | |
11 int mecmp(MetaEntry*, char *s); | |
12 int mecmpnew(MetaEntry*, char *s); | |
13 | |
14 enum { | |
15 VacDirVersion = 8, | |
16 FossilDirVersion = 9, | |
17 }; | |
18 int vdsize(VacDir *dir, int); | |
19 int vdunpack(VacDir *dir, MetaEntry*); | |
20 void vdpack(VacDir *dir, MetaEntry*, int); | |
21 | |
22 VacFile *_vacfileroot(VacFs *fs, VtFile *file); | |
23 | |
24 int _vacfsnextqid(VacFs *fs, uvlong *qid); | |
25 void vacfsjumpqid(VacFs*, uvlong step); | |
26 | |
27 Reprog* glob2regexp(char*); | |
28 void loadexcludefile(char*); | |
29 int includefile(char*); | |
30 void excludepattern(char*); |