summaryrefslogtreecommitdiffstats
path: root/server/cdbpriv.h
blob: e74b9c228c48bd0e4230927f4f30d4b4b4bcf912 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef CDBPRIV_H
#define CDBPRIV_H

#include "conf.h"

#include <sys/types.h>

int cdb_find(char *buff, off_t bufflen, const unsigned char *key,
             unsigned int len, char **ret, uint32_t *retlen);
uint32_t cdb_hash(const unsigned char *buff, unsigned int len);
uint32_t cdb_unpack(unsigned char *buff);

#endif