php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
cdb_make.h File Reference
#include <stdio.h>
#include "uint32.h"

Go to the source code of this file.

Data Structures

struct  cdb_hp
 
struct  cdb_hplist
 
struct  cdb_make
 

Macros

#define CDB_HPLIST   1000
 

Functions

int cdb_make_start (struct cdb_make *, php_stream *)
 
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 *)
 
const char * cdb_make_version (void)
 

Macro Definition Documentation

◆ CDB_HPLIST

#define CDB_HPLIST   1000

Definition at line 25 of file cdb_make.h.

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 123 of file cdb_make.c.

◆ cdb_make_addbegin()

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

Definition at line 102 of file cdb_make.c.

◆ cdb_make_addend()

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

Definition at line 74 of file cdb_make.c.

◆ cdb_make_finish()

int cdb_make_finish ( struct cdb_make * c)

Definition at line 136 of file cdb_make.c.

◆ cdb_make_start()

int cdb_make_start ( struct cdb_make * c,
php_stream * f )

Definition at line 57 of file cdb_make.c.

◆ cdb_make_version()

const char * cdb_make_version ( void )

Definition at line 239 of file cdb_make.c.