2 * Copyright 2004 Timo Hirvonen
10 struct db
*db_new(const char *filename_base
);
11 int db_load(struct db
*db
);
12 int db_close(struct db
*db
);
13 int db_insert(struct db
*db
, char *key
, void *data
, unsigned int data_size
);
14 int db_remove(struct db
*db
, const char *key
);
15 int db_query(struct db
*db
, const char *key
, void **datap
, unsigned int *data_sizep
);