X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/bea6f6d52db537bf2c0dbe826aedcddaa8de482c..5f624baebe43889bb2810720cb9cc6d0812f49cb:/lib/trackdb-int.h
diff --git a/lib/trackdb-int.h b/lib/trackdb-int.h
index 2528c67..3be725e 100644
--- a/lib/trackdb-int.h
+++ b/lib/trackdb-int.h
@@ -2,25 +2,29 @@
* This file is part of DisOrder
* Copyright (C) 2005, 2007 Richard Kettlewell
*
- * This program is free software; you can redistribute it and/or modify
+ * 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
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
- * USA
+ * along with this program. If not, see .
*/
-
+/** @file lib/trackdb-int.h
+ * @brief Track database internals */
#ifndef TRACKDB_INT_H
#define TRACKDB_INT_H
+#include
+
+#include "trackdb.h"
+#include "kvp.h"
+
struct vector; /* forward declaration */
extern DB_ENV *trackdb_env;
@@ -32,6 +36,8 @@ extern DB *trackdb_tagsdb;
extern DB *trackdb_noticeddb;
extern DB *trackdb_globaldb;
extern DB *trackdb_usersdb;
+extern DB *trackdb_scheduledb;
+extern DB *trackdb_playlistsdb;
DBC *trackdb_opencursor(DB *db, DB_TXN *tid);
/* open a transaction */
@@ -145,6 +151,9 @@ int trackdb_get_global_tid(const char *name,
DB_TXN *tid,
const char **rp);
+char **parsetags(const char *s);
+int tag_intersection(char **a, char **b);
+
#endif /* TRACKDB_INT_H */
/*