#include "readwrite.h"#include "seek.h"#include "error.h"#include "alloc.h"#include "cdb.h"#include "cdb_make.h"Include dependency graph for cdb_make.c:

Go to the source code of this file.
Functions | |
| int | cdb_make_start (struct cdb_make *c, int fd) |
| int | cdb_make_addend (struct cdb_make *c, unsigned int keylen, unsigned int datalen, uint32 h) |
| int | cdb_make_addbegin (struct cdb_make *c, unsigned int keylen, unsigned int datalen) |
| int | cdb_make_add (struct cdb_make *c, char *key, unsigned int keylen, char *data, unsigned int datalen) |
| int | cdb_make_finish (struct cdb_make *c) |
|
||||||||||||||||||||||||
|
Definition at line 65 of file cdb_make.c. References cdb_make::b, buffer_putalign(), cdb_hash(), cdb_make_addbegin(), and cdb_make_addend(). |
Here is the call graph for this function:

|
||||||||||||||||
|
Definition at line 52 of file cdb_make.c. References cdb_make::b, buffer_putalign(), errno, error_nomem, and uint32_pack(). Referenced by cdb_make_add(). |
Here is the call graph for this function:

|
||||||||||||||||||||
|
Definition at line 30 of file cdb_make.c. References alloc(), CDB_HPLIST, cdb_hp::h, cdb_make::head, cdb_hplist::hp, cdb_make::numentries, cdb_make::pos, and uint32. Referenced by cdb_make_add(). |
Here is the call graph for this function:

|
|
Definition at line 73 of file cdb_make.c. References alloc(), cdb_make::b, buffer_flush(), buffer_putalign(), buffer_putflush(), cdb_make::count, errno, error_nomem, cdb_make::fd, cdb_make::final, cdb_hp::h, cdb_make::hash, cdb_make::head, cdb_hplist::next, cdb_make::numentries, cdb_hp::p, cdb_make::pos, seek_begin, cdb_make::split, cdb_make::start, uint32, and uint32_pack(). |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 10 of file cdb_make.c. References cdb_make::b, cdb_make::bspace, buffer_init(), cdb_make::fd, cdb_make::final, cdb_make::hash, cdb_make::head, cdb_make::numentries, cdb_make::pos, seek_set(), cdb_make::split, and write(). |
Here is the call graph for this function:

1.3.6-20040222