aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabaseCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-03 17:27:26 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 17:36:28 +0100
commit7a982169c9dc3a673e922e7f3b9b73368cef0aae (patch)
tree7b9b28287d7ae934c0e75bd7f3b5f317ad7d2cac /src/DatabaseCommands.cxx
parentf2510d60fad1c5811fba3d253ef1c8dabb712304 (diff)
downloadmpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.tar.gz
mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.tar.xz
mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.zip
Client: rename the struct client to class Client
Diffstat (limited to '')
-rw-r--r--src/DatabaseCommands.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/DatabaseCommands.cxx b/src/DatabaseCommands.cxx
index c0f02ad24..4e636a33f 100644
--- a/src/DatabaseCommands.cxx
+++ b/src/DatabaseCommands.cxx
@@ -34,7 +34,7 @@
#include <string.h>
enum command_return
-handle_lsinfo2(struct client *client, int argc, char *argv[])
+handle_lsinfo2(Client *client, int argc, char *argv[])
{
const char *uri;
@@ -54,7 +54,7 @@ handle_lsinfo2(struct client *client, int argc, char *argv[])
}
static enum command_return
-handle_match(struct client *client, int argc, char *argv[], bool fold_case)
+handle_match(Client *client, int argc, char *argv[], bool fold_case)
{
SongFilter filter;
if (!filter.Parse(argc - 1, argv + 1, fold_case)) {
@@ -71,19 +71,19 @@ handle_match(struct client *client, int argc, char *argv[], bool fold_case)
}
enum command_return
-handle_find(struct client *client, int argc, char *argv[])
+handle_find(Client *client, int argc, char *argv[])
{
return handle_match(client, argc, argv, false);
}
enum command_return
-handle_search(struct client *client, int argc, char *argv[])
+handle_search(Client *client, int argc, char *argv[])
{
return handle_match(client, argc, argv, true);
}
static enum command_return
-handle_match_add(struct client *client, int argc, char *argv[], bool fold_case)
+handle_match_add(Client *client, int argc, char *argv[], bool fold_case)
{
SongFilter filter;
if (!filter.Parse(argc - 1, argv + 1, fold_case)) {
@@ -98,19 +98,19 @@ handle_match_add(struct client *client, int argc, char *argv[], bool fold_case)
}
enum command_return
-handle_findadd(struct client *client, int argc, char *argv[])
+handle_findadd(Client *client, int argc, char *argv[])
{
return handle_match_add(client, argc, argv, false);
}
enum command_return
-handle_searchadd(struct client *client, int argc, char *argv[])
+handle_searchadd(Client *client, int argc, char *argv[])
{
return handle_match_add(client, argc, argv, true);
}
enum command_return
-handle_searchaddpl(struct client *client, int argc, char *argv[])
+handle_searchaddpl(Client *client, int argc, char *argv[])
{
const char *playlist = argv[1];
@@ -127,7 +127,7 @@ handle_searchaddpl(struct client *client, int argc, char *argv[])
}
enum command_return
-handle_count(struct client *client, int argc, char *argv[])
+handle_count(Client *client, int argc, char *argv[])
{
SongFilter filter;
if (!filter.Parse(argc - 1, argv + 1, false)) {
@@ -142,7 +142,7 @@ handle_count(struct client *client, int argc, char *argv[])
}
enum command_return
-handle_listall(struct client *client, G_GNUC_UNUSED int argc, char *argv[])
+handle_listall(Client *client, G_GNUC_UNUSED int argc, char *argv[])
{
const char *directory = "";
@@ -156,7 +156,7 @@ handle_listall(struct client *client, G_GNUC_UNUSED int argc, char *argv[])
}
enum command_return
-handle_list(struct client *client, int argc, char *argv[])
+handle_list(Client *client, int argc, char *argv[])
{
unsigned tagType = locate_parse_type(argv[1]);
@@ -205,7 +205,7 @@ handle_list(struct client *client, int argc, char *argv[])
}
enum command_return
-handle_listallinfo(struct client *client, G_GNUC_UNUSED int argc, char *argv[])
+handle_listallinfo(Client *client, G_GNUC_UNUSED int argc, char *argv[])
{
const char *directory = "";