Skip to content
Browse files

renamed command.c to capabilities.c

  • Loading branch information...
1 parent 7c9c699 commit 6cecd2c039e095a4fc74733e43ff635fbf3446e2 @MaxKellermann MaxKellermann committed Sep 18, 2009
Showing with 6 additions and 17 deletions.
  1. +2 −2 Makefile.am
  2. +2 −7 include/mpd/{command.h → capabilities.h}
  3. +1 −1 include/mpd/client.h
  4. +1 −6 src/{command.c → capabilities.c}
  5. +0 −1 src/run.c
View
4 Makefile.am
@@ -6,7 +6,7 @@ mpdinclude_HEADERS = \
include/mpd/async.h \
include/mpd/audio_format.h \
include/mpd/client.h \
- include/mpd/command.h \
+ include/mpd/capabilities.h \
include/mpd/connection.h \
include/mpd/cpos.h \
include/mpd/database.h \
@@ -44,7 +44,7 @@ src_libmpdclient_la_SOURCES = \
src/str_pool.c src/str_pool.h \
src/ierror.c src/ierror.h \
src/resolver.c src/resolver.h \
- src/command.c \
+ src/capabilities.c \
src/connection.c \
src/cpos.c \
src/database.c \
View
9 include/mpd/command.h → include/mpd/capabilities.h
@@ -26,8 +26,8 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MPD_COMMAND_H
-#define MPD_COMMAND_H
+#ifndef MPD_CAPABILITIES_H
+#define MPD_CAPABILITIES_H
#include <stdbool.h>
@@ -37,11 +37,6 @@ struct mpd_connection;
extern "C" {
#endif
-/*
- * Connection commands
- *
- */
-
/**
* @param connection a #mpd_connection
*
View
2 include/mpd/client.h
@@ -46,8 +46,8 @@
#define MPD_CLIENT_H
#include <mpd/audio_format.h>
+#include <mpd/capabilities.h>
#include <mpd/connection.h>
-#include <mpd/command.h>
#include <mpd/database.h>
#include <mpd/directory.h>
#include <mpd/entity.h>
View
7 src/command.c → src/capabilities.c
@@ -26,16 +26,11 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <mpd/command.h>
+#include <mpd/capabilities.h>
#include <mpd/send.h>
#include <stddef.h>
-/*
- * Connection commands
- *
- */
-
bool
mpd_send_commands(struct mpd_connection *connection)
{
View
1 src/run.c
@@ -27,7 +27,6 @@
*/
#include "run.h"
-#include <mpd/command.h>
#include <mpd/response.h>
#include <mpd/status.h>
#include "internal.h"

0 comments on commit 6cecd2c

Please sign in to comment.
Something went wrong with that request. Please try again.