2 /* Adapted from DJB's original cdb-0.75 package */
10 #define CDB_HPLIST 1000
12 struct cdb_hp { uint32 h; uint32 p; } ;
15 struct cdb_hp hp[CDB_HPLIST];
16 struct cdb_hplist *next;
21 /* char bspace[8192]; */
25 struct cdb_hplist *head;
26 struct cdb_hp *split; /* includes space for hash */
35 extern int cdb_make_start(struct cdb_make *, FILE *);
36 extern int cdb_make_addbegin(struct cdb_make *,unsigned int,unsigned int);
37 extern int cdb_make_addend(struct cdb_make *,unsigned int,unsigned int,uint32);
38 extern int cdb_make_add(struct cdb_make *,char *,unsigned int,char *,unsigned int);
39 extern int cdb_make_finish(struct cdb_make *);