/*
    Marco's Chess: WebAssembly build of Sjeng, no on-disk binary book.
    Copyright (C) 2026 Marco Seman. Licensed GPL-3.0-or-later; see ../../LICENSE.
    See ndbm.h.
*/
#include <stddef.h>
#include "ndbm.h"

static const datum none = { NULL, 0 };

DBM *dbm_open(const char *file, int flags, int mode) { (void)file; (void)flags; (void)mode; return NULL; }
void dbm_close(DBM *db) { (void)db; }
datum dbm_fetch(DBM *db, datum key) { (void)db; (void)key; return none; }
int dbm_store(DBM *db, datum key, datum content, int mode) { (void)db; (void)key; (void)content; (void)mode; return -1; }
datum dbm_firstkey(DBM *db) { (void)db; return none; }
datum dbm_nextkey(DBM *db) { (void)db; return none; }
int dbm_delete(DBM *db, datum key) { (void)db; (void)key; return -1; }
