chiark / gitweb /
Spot changes to database parameters and rebuild database.
[disorder] / server / disorder-server.h
index 4eb58e45845e9f34689104166d8272888cc7fd87..8209adb9ddf27085c734de7ae9c977183e9a51a2 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of DisOrder
- * Copyright (C) 2008 Richard Kettlewell
+ * Copyright (C) 2008, 2009 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
@@ -67,7 +67,6 @@
 #include "logfd.h"
 #include "mem.h"
 #include "mime.h"
-#include "mixer.h"
 #include "printf.h"
 #include "queue.h"
 #include "random.h"
 #include "trackdb-int.h"
 #include "trackdb.h"
 #include "trackname.h"
+#include "uaudio.h"
 #include "unicode.h"
 #include "user.h"
 #include "vector.h"
 #include "version.h"
 #include "wstat.h"
 
+extern const struct uaudio *api;
+
 void daemonize(const char *tag, int fac, const char *pidfile);
 /* Go into background.  Send stdout/stderr to syslog.
  * If @pri@ is non-null, it should be "facility.level"
@@ -100,6 +102,8 @@ void quit(ev_source *ev) attribute((noreturn));
 int reconfigure(ev_source *ev, int reload);
 /* reconfigure.  If @reload@ is nonzero, update the configuration. */
 
+void dbparams_check(void);
+
 extern struct queue_entry qhead;
 /* queue of things yet to be played.  the head will be played
  * soonest. */