![]() |
fehQlibs 28
Qlibs
|
read entries from a cdb More...
#include <sys/types.h>#include <sys/stat.h>#include <sys/mman.h>#include <unistd.h>#include "error.h"#include "seek.h"#include "byte.h"#include "cdbread.h"
Go to the source code of this file.
Functions | |
| uint32 | cdb_unpack (unsigned char *buf) |
| void | cdb_free (struct cdb *c) |
| void | cdb_findstart (struct cdb *c) |
| void | cdb_init (struct cdb *c, int fd) |
| int | cdb_read (struct cdb *c, char *buf, unsigned int len, uint32 pos) |
| int | cdb_findnext (struct cdb *c, char *key, unsigned int len) |
| int | cdb_find (struct cdb *c, char *key, unsigned int len) |
| uint32 | cdb_hashadd (uint32 h, unsigned char c) |
| uint32 | cdb_hash (char *buf, unsigned int len) |
read entries from a cdb
Definition in file cdbread.c.
| int cdb_find | ( | struct cdb * | c, |
| char * | key, | ||
| unsigned int | len ) |
| int cdb_findnext | ( | struct cdb * | c, |
| char * | key, | ||
| unsigned int | len ) |
| void cdb_findstart | ( | struct cdb * | c | ) |
| void cdb_free | ( | struct cdb * | c | ) |
| uint32 cdb_hash | ( | char * | buf, |
| unsigned int | len ) |
| void cdb_init | ( | struct cdb * | c, |
| int | fd ) |