Main Page | Namespace List | Class List | File List | Class Members | File Members | Related Pages

cdb_make.h File Reference

#include "buffer.h"
#include "uint32.h"

Include dependency graph for cdb_make.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  cdb_hp
struct  cdb_hplist
struct  cdb_make

Defines

#define CDB_HPLIST   1000

Functions

int cdb_make_start (struct cdb_make *, int)
int cdb_make_addbegin (struct cdb_make *, unsigned int, unsigned int)
int cdb_make_addend (struct cdb_make *, unsigned int, unsigned int, uint32)
int cdb_make_add (struct cdb_make *, char *, unsigned int, char *, unsigned int)
int cdb_make_finish (struct cdb_make *)


Define Documentation

#define CDB_HPLIST   1000
 

Definition at line 13 of file cdb_make.h.

Referenced by cdb_make_addend().


Function Documentation

int cdb_make_add struct cdb_make ,
char *  ,
unsigned  int,
char *  ,
unsigned  int
 

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:

int cdb_make_addbegin struct cdb_make ,
unsigned  int,
unsigned  int
 

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:

int cdb_make_addend struct cdb_make ,
unsigned  int,
unsigned  int,
uint32 
 

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:

int cdb_make_finish struct cdb_make  ) 
 

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:

int cdb_make_start struct cdb_make ,
int 
 

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:


Generated on Mon Apr 26 09:49:25 2004 for ConstantDataStore by doxygen 1.3.6-20040222