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
86316b18
Commit
86316b18
authored
Oct 02, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/httpd: don't include glib.h in header
parent
efc3a69d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
HttpdClient.cxx
src/output/HttpdClient.cxx
+2
-0
HttpdInternal.hxx
src/output/HttpdInternal.hxx
+1
-3
HttpdOutputPlugin.cxx
src/output/HttpdOutputPlugin.cxx
+3
-1
No files found.
src/output/HttpdClient.cxx
View file @
86316b18
...
@@ -26,6 +26,8 @@
...
@@ -26,6 +26,8 @@
#include "system/SocketError.hxx"
#include "system/SocketError.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include <glib.h>
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <string.h>
...
...
src/output/HttpdInternal.hxx
View file @
86316b18
...
@@ -30,8 +30,6 @@
...
@@ -30,8 +30,6 @@
#include "thread/Mutex.hxx"
#include "thread/Mutex.hxx"
#include "event/ServerSocket.hxx"
#include "event/ServerSocket.hxx"
#include <glib.h>
#include <forward_list>
#include <forward_list>
struct
config_param
;
struct
config_param
;
...
@@ -121,7 +119,7 @@ struct HttpdOutput final : private ServerSocket {
...
@@ -121,7 +119,7 @@ struct HttpdOutput final : private ServerSocket {
* The maximum and current number of clients connected
* The maximum and current number of clients connected
* at the same time.
* at the same time.
*/
*/
guint
clients_max
,
clients_cnt
;
unsigned
clients_max
,
clients_cnt
;
HttpdOutput
(
EventLoop
&
_loop
);
HttpdOutput
(
EventLoop
&
_loop
);
~
HttpdOutput
();
~
HttpdOutput
();
...
...
src/output/HttpdOutputPlugin.cxx
View file @
86316b18
...
@@ -33,6 +33,8 @@
...
@@ -33,6 +33,8 @@
#include "util/Domain.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include <glib.h>
#include <assert.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/types.h>
...
@@ -91,7 +93,7 @@ HttpdOutput::Configure(const config_param ¶m, Error &error)
...
@@ -91,7 +93,7 @@ HttpdOutput::Configure(const config_param ¶m, Error &error)
genre
=
param
.
GetBlockValue
(
"genre"
,
"Set genre in config"
);
genre
=
param
.
GetBlockValue
(
"genre"
,
"Set genre in config"
);
website
=
param
.
GetBlockValue
(
"website"
,
"Set website in config"
);
website
=
param
.
GetBlockValue
(
"website"
,
"Set website in config"
);
guint
port
=
param
.
GetBlockValue
(
"port"
,
8000u
);
unsigned
port
=
param
.
GetBlockValue
(
"port"
,
8000u
);
const
char
*
encoder_name
=
const
char
*
encoder_name
=
param
.
GetBlockValue
(
"encoder"
,
"vorbis"
);
param
.
GetBlockValue
(
"encoder"
,
"vorbis"
);
...
...
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