summaryrefslogtreecommitdiffstats
path: root/server/memdb.h
blob: 7dcc25db5fb4cc4e5348fb5da8f1814489b63445 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* $Id: memdb.h,v 1.8 2000/05/17 19:32:58 shmit Exp $ */

#ifndef MEMDB_H
#define MEMDB_H

int memdb_new();
void memdb_delete();

int memdb_add(const unsigned char *key, int keylen, array_t *vals);
int memdb_del(const unsigned char *key, int keylen);
int memdb_get(const unsigned char *key, int keylen, array_t *vals);
int memdb_upd(const unsigned char *key, int keylen, array_t *vals);

int memdb_stats(array_t *statarr);
void memdb_collate();

#endif