Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
718fd976
Commit
718fd976
authored
Jan 30, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
icy_server: convert to C++
parent
f8ff45b2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
18 deletions
+10
-18
Makefile.am
Makefile.am
+1
-2
IcyMetaDataServer.cxx
src/IcyMetaDataServer.cxx
+4
-2
IcyMetaDataServer.hxx
src/IcyMetaDataServer.hxx
+3
-12
HttpdClient.cxx
src/output/HttpdClient.cxx
+1
-1
HttpdOutputPlugin.cxx
src/output/HttpdOutputPlugin.cxx
+1
-1
No files found.
Makefile.am
View file @
718fd976
...
@@ -81,7 +81,6 @@ mpd_headers = \
...
@@ -81,7 +81,6 @@ mpd_headers = \
src/decoder/pcm_decoder_plugin.h
\
src/decoder/pcm_decoder_plugin.h
\
src/input_stream.h
\
src/input_stream.h
\
src/text_input_stream.h
\
src/text_input_stream.h
\
src/icy_server.h
\
src/ls.h
\
src/ls.h
\
src/mixer_api.h
\
src/mixer_api.h
\
src/mixer_control.h
\
src/mixer_control.h
\
...
@@ -889,7 +888,7 @@ endif
...
@@ -889,7 +888,7 @@ endif
if
ENABLE_HTTPD_OUTPUT
if
ENABLE_HTTPD_OUTPUT
liboutput_plugins_a_SOURCES
+=
\
liboutput_plugins_a_SOURCES
+=
\
src/
icy_server.c
\
src/
IcyMetaDataServer.cxx src/IcyMetaDataServer.hxx
\
src/output/HttpdInternal.hxx
\
src/output/HttpdInternal.hxx
\
src/output/HttpdClient.cxx src/output/HttpdClient.hxx
\
src/output/HttpdClient.cxx src/output/HttpdClient.hxx
\
src/output/HttpdOutputPlugin.cxx src/output/HttpdOutputPlugin.hxx
src/output/HttpdOutputPlugin.cxx src/output/HttpdOutputPlugin.hxx
...
...
src/
icy_server.c
→
src/
IcyMetaDataServer.cxx
View file @
718fd976
/*
/*
* Copyright (C) 2003-201
1
The Music Player Daemon Project
* Copyright (C) 2003-201
3
The Music Player Daemon Project
* http://www.musicpd.org
* http://www.musicpd.org
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -18,7 +18,9 @@
...
@@ -18,7 +18,9 @@
*/
*/
#include "config.h"
#include "config.h"
#include "icy_server.h"
#include "IcyMetaDataServer.hxx"
#include "page.h"
#include "tag.h"
#include <glib.h>
#include <glib.h>
...
...
src/
icy_server.h
→
src/
IcyMetaDataServer.hxx
View file @
718fd976
/*
/*
* Copyright (C) 2003-201
1
The Music Player Daemon Project
* Copyright (C) 2003-201
3
The Music Player Daemon Project
* http://www.musicpd.org
* http://www.musicpd.org
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -17,16 +17,11 @@
...
@@ -17,16 +17,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
*/
#ifndef
ICY_SERVER_H
#ifndef
MPD_ICY_META_DATA_SERVER_HXX
#define
ICY_SERVER_H
#define
MPD_ICY_META_DATA_SERVER_HXX
#include "page.h"
#include "tag.h"
#include "tag.h"
#ifdef __cplusplus
extern
"C"
{
#endif
char
*
char
*
icy_server_metadata_header
(
const
char
*
name
,
icy_server_metadata_header
(
const
char
*
name
,
const
char
*
genre
,
const
char
*
url
,
const
char
*
genre
,
const
char
*
url
,
...
@@ -35,8 +30,4 @@ icy_server_metadata_header(const char *name,
...
@@ -35,8 +30,4 @@ icy_server_metadata_header(const char *name,
struct
page
*
struct
page
*
icy_server_metadata_page
(
const
struct
tag
*
tag
,
const
enum
tag_type
*
types
);
icy_server_metadata_page
(
const
struct
tag
*
tag
,
const
enum
tag_type
*
types
);
#ifdef __cplusplus
}
#endif
#endif
#endif
src/output/HttpdClient.cxx
View file @
718fd976
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#include "HttpdInternal.hxx"
#include "HttpdInternal.hxx"
#include "util/fifo_buffer.h"
#include "util/fifo_buffer.h"
#include "page.h"
#include "page.h"
#include "
icy_server.h
"
#include "
IcyMetaDataServer.hxx
"
#include "glib_socket.h"
#include "glib_socket.h"
#include <assert.h>
#include <assert.h>
...
...
src/output/HttpdOutputPlugin.cxx
View file @
718fd976
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#include "encoder_list.h"
#include "encoder_list.h"
#include "resolver.h"
#include "resolver.h"
#include "page.h"
#include "page.h"
#include "
icy_server.h
"
#include "
IcyMetaDataServer.hxx
"
#include "fd_util.h"
#include "fd_util.h"
#include "ServerSocket.hxx"
#include "ServerSocket.hxx"
#include "Main.hxx"
#include "Main.hxx"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment