Go to the source code of this file.
|
uint32 | cdb_hashadd (uint32, unsigned char) |
|
uint32 | cdb_hash (char *, unsigned int) |
|
uint32 | cdb_unpack (unsigned char *) |
|
void | cdb_free (struct cdb *) |
|
void | cdb_init (struct cdb *, int fd) |
|
int | cdb_read (struct cdb *, char *, unsigned int, uint32) |
|
void | cdb_findstart (struct cdb *) |
|
int | cdb_findnext (struct cdb *, char *, unsigned int) |
|
int | cdb_find (struct cdb *, char *, unsigned int) |
|
◆ cdb_datalen
#define cdb_datalen |
( |
|
c | ) |
((c)->dlen) |
◆ cdb_datapos
#define cdb_datapos |
( |
|
c | ) |
((c)->dpos) |
◆ CDB_HASHSTART
#define CDB_HASHSTART 5381ULL |
◆ cdb_find()
int cdb_find |
( |
struct cdb * |
c, |
|
|
char * |
key, |
|
|
unsigned int |
len |
|
) |
| |
◆ cdb_findnext()
int cdb_findnext |
( |
struct cdb * |
c, |
|
|
char * |
key, |
|
|
unsigned int |
len |
|
) |
| |
◆ cdb_findstart()
void cdb_findstart |
( |
struct cdb * |
c | ) |
|
◆ cdb_free()
void cdb_free |
( |
struct cdb * |
c | ) |
|
◆ cdb_hash()
uint32 cdb_hash |
( |
char * |
buf, |
|
|
unsigned int |
len |
|
) |
| |
◆ cdb_hashadd()
◆ cdb_init()
void cdb_init |
( |
struct cdb * |
c, |
|
|
int |
fd |
|
) |
| |
◆ cdb_read()
int cdb_read |
( |
struct cdb * |
c, |
|
|
char * |
buf, |
|
|
unsigned int |
len, |
|
|
uint32 |
pos |
|
) |
| |
◆ cdb_unpack()
uint32 cdb_unpack |
( |
unsigned char * |
buf | ) |
|