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
fe32db17
Commit
fe32db17
authored
Apr 03, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
client/Internal: rename to Config.hxx
parent
772aa4f1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
19 additions
and
17 deletions
+19
-17
meson.build
meson.build
+1
-1
Main.cxx
src/Main.cxx
+1
-1
Client.hxx
src/client/Client.hxx
+0
-4
Config.cxx
src/client/Config.cxx
+1
-1
Config.hxx
src/client/Config.hxx
+7
-4
Idle.cxx
src/client/Idle.cxx
+2
-1
New.cxx
src/client/New.cxx
+2
-2
Process.cxx
src/client/Process.cxx
+2
-1
Read.cxx
src/client/Read.cxx
+2
-1
CommandListBuilder.cxx
src/command/CommandListBuilder.cxx
+1
-1
No files found.
meson.build
View file @
fe32db17
...
...
@@ -206,10 +206,10 @@ sources = [
'src/decoder/DecoderPrint.cxx',
'src/client/Listener.cxx',
'src/client/Client.cxx',
'src/client/Config.cxx',
'src/client/Domain.cxx',
'src/client/Event.cxx',
'src/client/Expire.cxx',
'src/client/Global.cxx',
'src/client/Idle.cxx',
'src/client/List.cxx',
'src/client/New.cxx',
...
...
src/Main.cxx
View file @
fe32db17
...
...
@@ -28,7 +28,7 @@
#include "Permission.hxx"
#include "Listen.hxx"
#include "client/Listener.hxx"
#include "client/C
lient
.hxx"
#include "client/C
onfig
.hxx"
#include "client/List.hxx"
#include "command/AllCommands.hxx"
#include "Partition.hxx"
...
...
src/client/Client.hxx
View file @
fe32db17
...
...
@@ -37,7 +37,6 @@
#include <stddef.h>
struct
ConfigData
;
class
SocketAddress
;
class
UniqueSocketDescriptor
;
class
EventLoop
;
...
...
@@ -261,9 +260,6 @@ private:
};
void
client_manager_init
(
const
ConfigData
&
config
);
void
client_new
(
EventLoop
&
loop
,
Partition
&
partition
,
UniqueSocketDescriptor
fd
,
SocketAddress
address
,
int
uid
,
unsigned
permission
)
noexcept
;
...
...
src/client/
Global
.cxx
→
src/client/
Config
.cxx
View file @
fe32db17
...
...
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "
Internal
.hxx"
#include "
Config
.hxx"
#include "config/Data.hxx"
#define CLIENT_TIMEOUT_DEFAULT (60)
...
...
src/client/
Internal
.hxx
→
src/client/
Config
.hxx
View file @
fe32db17
...
...
@@ -17,15 +17,18 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_CLIENT_INTERNAL_HXX
#define MPD_CLIENT_INTERNAL_HXX
#include "Client.hxx"
#ifndef MPD_CLIENT_CONFIG_HXX
#define MPD_CLIENT_CONFIG_HXX
#include <chrono>
struct
ConfigData
;
extern
std
::
chrono
::
steady_clock
::
duration
client_timeout
;
extern
size_t
client_max_command_list_size
;
extern
size_t
client_max_output_buffer_size
;
void
client_manager_init
(
const
ConfigData
&
config
);
#endif
src/client/Idle.cxx
View file @
fe32db17
...
...
@@ -17,7 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "Internal.hxx"
#include "Client.hxx"
#include "Config.hxx"
#include "Response.hxx"
#include "Idle.hxx"
...
...
src/client/New.cxx
View file @
fe32db17
...
...
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "
config.h
"
#include "
Internal
.hxx"
#include "
Client.hxx
"
#include "
Config
.hxx"
#include "Domain.hxx"
#include "List.hxx"
#include "Partition.hxx"
...
...
src/client/Process.cxx
View file @
fe32db17
...
...
@@ -17,7 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "Internal.hxx"
#include "Client.hxx"
#include "Config.hxx"
#include "Domain.hxx"
#include "protocol/Result.hxx"
#include "command/AllCommands.hxx"
...
...
src/client/Read.cxx
View file @
fe32db17
...
...
@@ -17,7 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "Internal.hxx"
#include "Client.hxx"
#include "Config.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "event/Loop.hxx"
...
...
src/command/CommandListBuilder.cxx
View file @
fe32db17
...
...
@@ -18,7 +18,7 @@
*/
#include "CommandListBuilder.hxx"
#include "client/
Internal
.hxx"
#include "client/
Config
.hxx"
#include <string.h>
...
...
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