fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Functions
cdbmake.c File Reference

constant data base (cdb) generation More...

#include <unistd.h>
#include "seek.h"
#include "error.h"
#include "alloc.h"
#include "cdbread.h"
#include "cdbmake.h"
Include dependency graph for cdbmake.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)
 

Detailed Description

constant data base (cdb) generation

Author
djb ucspi-tcp

Definition in file cdbmake.c.

Function Documentation

◆ cdb_make_add()

int cdb_make_add ( struct cdb_make c,
char *  key,
unsigned int  keylen,
char *  data,
unsigned int  datalen 
)

Definition at line 70 of file cdbmake.c.

Here is the call graph for this function:

◆ cdb_make_addbegin()

int cdb_make_addbegin ( struct cdb_make c,
unsigned int  keylen,
unsigned int  datalen 
)

Definition at line 57 of file cdbmake.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cdb_make_addend()

int cdb_make_addend ( struct cdb_make c,
unsigned int  keylen,
unsigned int  datalen,
uint32  h 
)

Definition at line 35 of file cdbmake.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cdb_make_finish()

int cdb_make_finish ( struct cdb_make c)

Definition at line 78 of file cdbmake.c.

Here is the call graph for this function:

◆ cdb_make_start()

int cdb_make_start ( struct cdb_make c,
int  fd 
)

Definition at line 15 of file cdbmake.c.

Here is the call graph for this function: