69 const unsigned char * b = (
unsigned char *)
buf;
73 h = ( h + (h << 5)) ^ (*b++);
112 }
while ((r == -1) && (
errno == EINTR));
164 switch(cdb_match(c,
key,
len,
pos + 8)) {
190 return "0.75, $Id: e694d6a6eb12f2bbad27f8ec7ebf3788257532d9 $";
void cdb_init(struct cdb *c, php_stream *fp)
int cdb_findnext(struct cdb *c, char *key, unsigned int len)
void cdb_free(struct cdb *c)
int cdb_read(struct cdb *c, char *buf, unsigned int len, uint32 pos)
int cdb_find(struct cdb *c, char *key, unsigned int len)
void cdb_findstart(struct cdb *c)
uint32 cdb_hash(char *buf, unsigned int len)
const char * cdb_version(void)
zend_ffi_ctype_name_buf buf
unsigned const char * pos
unsigned char key[REFLECTION_KEY_LEN]
struct _php_stream php_stream
#define php_stream_read(stream, buf, count)
#define php_stream_seek(stream, offset, whence)
void uint32_unpack(const char *in, uint32 *out)