diff options
author | Max Kellermann <max@duempel.org> | 2012-09-25 11:44:49 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-09-25 11:44:49 +0200 |
commit | 510c4a3ef1b5f8d5029fe73e2a43ed06edf6eea6 (patch) | |
tree | 5a00ea27aae9949d4dcfcec5d9aaf63a2ec54048 /src/OtherCommands.hxx | |
parent | e7e52c24f53cd3b4614d63f8f1adb7263d4ddd75 (diff) | |
download | mpd-510c4a3ef1b5f8d5029fe73e2a43ed06edf6eea6.tar.gz mpd-510c4a3ef1b5f8d5029fe73e2a43ed06edf6eea6.tar.xz mpd-510c4a3ef1b5f8d5029fe73e2a43ed06edf6eea6.zip |
command: move remaining handlers to OtherCommands.cxx
Diffstat (limited to 'src/OtherCommands.hxx')
-rw-r--r-- | src/OtherCommands.hxx | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/src/OtherCommands.hxx b/src/OtherCommands.hxx new file mode 100644 index 000000000..d0dc1953c --- /dev/null +++ b/src/OtherCommands.hxx @@ -0,0 +1,71 @@ +/* + * 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_OTHER_COMMANDS_HXX +#define MPD_OTHER_COMMANDS_HXX + +#include "command.h" + +G_BEGIN_DECLS + +enum command_return +handle_urlhandlers(struct client *client, int argc, char *argv[]); + +enum command_return +handle_decoders(struct client *client, int argc, char *argv[]); + +enum command_return +handle_tagtypes(struct client *client, int argc, char *argv[]); + +enum command_return +handle_kill(struct client *client, int argc, char *argv[]); + +enum command_return +handle_close(struct client *client, int argc, char *argv[]); + +enum command_return +handle_lsinfo(struct client *client, int argc, char *argv[]); + +enum command_return +handle_update(struct client *client, int argc, char *argv[]); + +enum command_return +handle_rescan(struct client *client, int argc, char *argv[]); + +enum command_return +handle_setvol(struct client *client, int argc, char *argv[]); + +enum command_return +handle_stats(struct client *client, int argc, char *argv[]); + +enum command_return +handle_ping(struct client *client, int argc, char *argv[]); + +enum command_return +handle_password(struct client *client, int argc, char *argv[]); + +enum command_return +handle_config(struct client *client, int argc, char *argv[]); + +enum command_return +handle_idle(struct client *client, int argc, char *argv[]); + +G_END_DECLS + +#endif |