summaryrefslogtreecommitdiffstats
path: root/server/cdbpriv.h
blob: 2372b6b6d6e38bb1d1f34941bf8185a10906c7c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* $Id: cdbpriv.h,v 1.2 2000/02/29 19:15:28 shmit Exp $ */

#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