aboutsummaryrefslogtreecommitdiffstats
path: root/src/AllCommands.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-09-25 12:16:42 +0200
committerMax Kellermann <max@duempel.org>2012-09-25 12:20:36 +0200
commita5d8b27671b829d2b17554b056b681c66ae7fb74 (patch)
tree94373b2afc7549fca1fec1752f4502289639af22 /src/AllCommands.h
parentf3f25d5d40d0627392c20a632dbb751449c77e15 (diff)
downloadmpd-a5d8b27671b829d2b17554b056b681c66ae7fb74.tar.gz
mpd-a5d8b27671b829d2b17554b056b681c66ae7fb74.tar.xz
mpd-a5d8b27671b829d2b17554b056b681c66ae7fb74.zip
command.h: move function prototypes to AllCommands.h
Diffstat (limited to 'src/AllCommands.h')
-rw-r--r--src/AllCommands.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/AllCommands.h b/src/AllCommands.h
new file mode 100644
index 000000000..8325094f5
--- /dev/null
+++ b/src/AllCommands.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2003-2012 The Music Player Daemon Project
+ * http://www.musicpd.org
+ *
+ * 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
+ * (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.
+ *
+ * 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef MPD_ALL_COMMANDS_H
+#define MPD_ALL_COMMANDS_H
+
+#include "command.h"
+
+struct client;
+
+void command_init(void);
+
+void command_finish(void);
+
+enum command_return
+command_process(struct client *client, unsigned num, char *line);
+
+#endif