Skip to content

Commit

Permalink
renamed command.c to capabilities.c
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Sep 18, 2009
1 parent 7c9c699 commit 6cecd2c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 17 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Expand Up @@ -6,7 +6,7 @@ mpdinclude_HEADERS = \
include/mpd/async.h \ include/mpd/async.h \
include/mpd/audio_format.h \ include/mpd/audio_format.h \
include/mpd/client.h \ include/mpd/client.h \
include/mpd/command.h \ include/mpd/capabilities.h \
include/mpd/connection.h \ include/mpd/connection.h \
include/mpd/cpos.h \ include/mpd/cpos.h \
include/mpd/database.h \ include/mpd/database.h \
Expand Down Expand Up @@ -44,7 +44,7 @@ src_libmpdclient_la_SOURCES = \
src/str_pool.c src/str_pool.h \ src/str_pool.c src/str_pool.h \
src/ierror.c src/ierror.h \ src/ierror.c src/ierror.h \
src/resolver.c src/resolver.h \ src/resolver.c src/resolver.h \
src/command.c \ src/capabilities.c \
src/connection.c \ src/connection.c \
src/cpos.c \ src/cpos.c \
src/database.c \ src/database.c \
Expand Down
9 changes: 2 additions & 7 deletions include/mpd/command.h → include/mpd/capabilities.h
Expand Up @@ -26,8 +26,8 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */


#ifndef MPD_COMMAND_H #ifndef MPD_CAPABILITIES_H
#define MPD_COMMAND_H #define MPD_CAPABILITIES_H


#include <stdbool.h> #include <stdbool.h>


Expand All @@ -37,11 +37,6 @@ struct mpd_connection;
extern "C" { extern "C" {
#endif #endif


/*
* Connection commands
*
*/

/** /**
* @param connection a #mpd_connection * @param connection a #mpd_connection
* *
Expand Down
2 changes: 1 addition & 1 deletion include/mpd/client.h
Expand Up @@ -46,8 +46,8 @@
#define MPD_CLIENT_H #define MPD_CLIENT_H


#include <mpd/audio_format.h> #include <mpd/audio_format.h>
#include <mpd/capabilities.h>
#include <mpd/connection.h> #include <mpd/connection.h>
#include <mpd/command.h>
#include <mpd/database.h> #include <mpd/database.h>
#include <mpd/directory.h> #include <mpd/directory.h>
#include <mpd/entity.h> #include <mpd/entity.h>
Expand Down
7 changes: 1 addition & 6 deletions src/command.c → src/capabilities.c
Expand Up @@ -26,16 +26,11 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */


#include <mpd/command.h> #include <mpd/capabilities.h>
#include <mpd/send.h> #include <mpd/send.h>


#include <stddef.h> #include <stddef.h>


/*
* Connection commands
*
*/

bool bool
mpd_send_commands(struct mpd_connection *connection) mpd_send_commands(struct mpd_connection *connection)
{ {
Expand Down
1 change: 0 additions & 1 deletion src/run.c
Expand Up @@ -27,7 +27,6 @@
*/ */


#include "run.h" #include "run.h"
#include <mpd/command.h>
#include <mpd/response.h> #include <mpd/response.h>
#include <mpd/status.h> #include <mpd/status.h>
#include "internal.h" #include "internal.h"
Expand Down

0 comments on commit 6cecd2c

Please sign in to comment.