summaryrefslogtreecommitdiffstats
path: root/server/.svn/text-base/memdb.h.svn-base
blob: 0822e61d67caf41f423d5db51bb5721f020b5f11 (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 char *key, int keylen, array_t *vals);
int memdb_del(const char *key, int keylen);
int memdb_get(const char *key, int keylen, array_t *vals);
int memdb_upd(const char *key, int keylen, array_t *vals);

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

#endif