summaryrefslogtreecommitdiffstats
path: root/server/cdbpriv.h
blob: cc398a859b59095c3a5f401a77ad4b1bbd58557e (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 char *key, 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