X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/bdd2a99650780a1ef4a9e788eaabbc5e810cc39c..5f624baebe43889bb2810720cb9cc6d0812f49cb:/cgi/disorder-cgi.h
diff --git a/cgi/disorder-cgi.h b/cgi/disorder-cgi.h
index 3cabe9b..7815632 100644
--- a/cgi/disorder-cgi.h
+++ b/cgi/disorder-cgi.h
@@ -2,20 +2,18 @@
* This file is part of DisOrder.
* Copyright (C) 2004-2008 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 cgi/disorder-cgi.h
* @brief Shared header for DisOrder CGI program
@@ -30,8 +28,10 @@
#include
#include
#include
+#include
#include
+#include "log.h"
#include "mem.h"
#include "kvp.h"
#include "queue.h"
@@ -48,12 +48,12 @@
#include "table.h"
#include "vector.h"
#include "url.h"
-#include "log.h"
#include "inputline.h"
#include "split.h"
#include "mime.h"
#include "sendmail.h"
#include "charset.h"
+#include "syscalls.h"
extern disorder_client *dcgi_client;
extern char *dcgi_cookie;
@@ -78,7 +78,6 @@ struct queue_entry *dcgi_findtrack(const char *id);
void option_set(const char *name, const char *value);
const char *option_label(const char *key);
int option_label_exists(const char *key);
-char **option_columns(const char *name, int *ncolumns);
#define DCGI_QUEUE 0x0001
#define DCGI_PLAYING 0x0002
@@ -93,8 +92,8 @@ extern struct queue_entry *dcgi_queue;
extern struct queue_entry *dcgi_playing;
extern struct queue_entry *dcgi_recent;
-extern int dcgi_volume_left;
-extern int dcgi_volume_right;
+extern long dcgi_volume_left;
+extern long dcgi_volume_right;
extern char **dcgi_new;
extern int dcgi_nnew;