38 for (i = 0;i < 256;++
i)
48 for (i = 0;i < 256;++
i) {
55 u = (uint32) 0 - (uint32) 1;
57 if (memsize > u)
return 0;
60 if (!cdbm->
split)
return 0;
65 for (i = 0;i < 256;++
i) {
87 count = cdbm->
count[b];
94 for (j = 0;j <
len;++
j)
98 for (j = 0;j < count;++
j) {
99 where = (hp->
h >> 8) % len;
100 while (cdbm->
hash[where].
p)
103 cdbm->
hash[where] = *hp++;
char * alloc(unsigned int n)
void p(char *home, char *fifo, int uid, int gid, int mode)
void cdbmake_pack(unsigned char *, uint32)
struct cdbmake_hp hp[CDBMAKE_HPLIST]
struct cdbmake_hp * split
struct cdbmake_hplist * head
uint32 cdbmake_throw(struct cdbmake *cdbm, uint32 pos, int b)
struct cdbmake_hplist * next
int cdbmake_split(struct cdbmake *cdbm, char *(*alloc)())
void cdbmake_init(struct cdbmake *cdbm)
void h(char *home, int uid, int gid, int mode)
int cdbmake_add(struct cdbmake *cdbm, uint32 h, uint32 p, char *(*alloc)())