/*
* This file is part of DisOrder
- * Copyright (C) 2005 Richard Kettlewell
+ * Copyright (C) 2005, 2007 Richard Kettlewell
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
extern DB *trackdb_tracksdb;
extern DB *trackdb_prefsdb;
extern DB *trackdb_searchdb;
+extern DB *trackdb_noticeddb;
DBC *trackdb_opencursor(DB *db, DB_TXN *tid);
/* open a transaction */
* EINTR to cancel the scan. */
/* fill KEY in with S, returns KEY */
+
static inline DBT *make_key(DBT *key, const char *s) {
memset(key, 0, sizeof *key);
key->data = (void *)s;