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
42890b9a
Commit
42890b9a
authored
Feb 10, 2015
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
system/{Resolver,Socket{Error,Util}}: move to new library libnet.a
parent
33a27379
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
21 additions
and
14 deletions
+21
-14
Makefile.am
Makefile.am
+11
-4
ClientNew.cxx
src/client/ClientNew.cxx
+1
-1
BufferedSocket.cxx
src/event/BufferedSocket.cxx
+1
-1
FullyBufferedSocket.cxx
src/event/FullyBufferedSocket.cxx
+1
-1
ServerSocket.cxx
src/event/ServerSocket.cxx
+3
-3
Resolver.cxx
src/net/Resolver.cxx
+0
-0
Resolver.hxx
src/net/Resolver.hxx
+0
-0
SocketError.cxx
src/net/SocketError.cxx
+0
-0
SocketError.hxx
src/net/SocketError.hxx
+0
-0
SocketUtil.cxx
src/net/SocketUtil.cxx
+1
-1
SocketUtil.hxx
src/net/SocketUtil.hxx
+0
-0
HttpdClient.cxx
src/output/plugins/httpd/HttpdClient.cxx
+1
-1
HttpdOutputPlugin.cxx
src/output/plugins/httpd/HttpdOutputPlugin.cxx
+1
-1
run_resolver.cxx
test/run_resolver.cxx
+1
-1
No files found.
Makefile.am
View file @
42890b9a
...
...
@@ -15,6 +15,7 @@ noinst_LIBRARIES = \
libmpd.a
\
libutil.a
\
libthread.a
\
libnet.a
\
libsystem.a
\
libevent.a
\
libicu.a
\
...
...
@@ -55,6 +56,7 @@ src_mpd_LDADD = \
libconf.a
\
libevent.a
\
libthread.a
\
libnet.a
\
libsystem.a
\
libutil.a
\
$(FS_LIBS)
\
...
...
@@ -415,15 +417,19 @@ libthread_a_SOURCES = \
src/thread/Thread.cxx src/thread/Thread.hxx
\
src/thread/Id.hxx
# Networking library
libnet_a_SOURCES
=
\
src/net/Resolver.cxx src/net/Resolver.hxx
\
src/net/SocketUtil.cxx src/net/SocketUtil.hxx
\
src/net/SocketError.cxx src/net/SocketError.hxx
# System library
libsystem_a_SOURCES
=
\
src/system/ByteOrder.hxx
\
src/system/FatalError.cxx src/system/FatalError.hxx
\
src/system/fd_util.c src/system/fd_util.h
\
src/system/SocketUtil.cxx src/system/SocketUtil.hxx
\
src/system/SocketError.cxx src/system/SocketError.hxx
\
src/system/Resolver.cxx src/system/Resolver.hxx
\
src/system/EventPipe.cxx src/system/EventPipe.hxx
\
src/system/EventFD.cxx src/system/EventFD.hxx
\
src/system/SignalFD.cxx src/system/SignalFD.hxx
\
...
...
@@ -1567,7 +1573,7 @@ test_read_conf_SOURCES = \
test
/read_conf.cxx
test_run_resolver_LDADD
=
\
lib
system
.a
\
lib
net
.a
\
libutil.a
\
$(GLIB_LIBS)
test_run_resolver_SOURCES
=
\
...
...
@@ -1948,6 +1954,7 @@ test_run_output_LDADD = $(MPD_LIBS) \
libevent.a
\
$(FS_LIBS)
\
$(ICU_LDADD)
\
libnet.a
\
libsystem.a
\
libthread.a
\
libutil.a
\
...
...
src/client/ClientNew.cxx
View file @
42890b9a
...
...
@@ -23,7 +23,7 @@
#include "Partition.hxx"
#include "Instance.hxx"
#include "system/fd_util.h"
#include "
system
/Resolver.hxx"
#include "
net
/Resolver.hxx"
#include "Permission.hxx"
#include "util/Error.hxx"
#include "Log.hxx"
...
...
src/event/BufferedSocket.cxx
View file @
42890b9a
...
...
@@ -19,7 +19,7 @@
#include "config.h"
#include "BufferedSocket.hxx"
#include "
system
/SocketError.hxx"
#include "
net
/SocketError.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "Compiler.h"
...
...
src/event/FullyBufferedSocket.cxx
View file @
42890b9a
...
...
@@ -19,7 +19,7 @@
#include "config.h"
#include "FullyBufferedSocket.hxx"
#include "
system
/SocketError.hxx"
#include "
net
/SocketError.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "Compiler.h"
...
...
src/event/ServerSocket.cxx
View file @
42890b9a
...
...
@@ -19,10 +19,10 @@
#include "config.h"
#include "ServerSocket.hxx"
#include "system/SocketUtil.hxx"
#include "system/SocketError.hxx"
#include "net/SocketUtil.hxx"
#include "net/SocketError.hxx"
#include "net/Resolver.hxx"
#include "event/SocketMonitor.hxx"
#include "system/Resolver.hxx"
#include "system/fd_util.h"
#include "fs/AllocatedPath.hxx"
#include "fs/FileSystem.hxx"
...
...
src/
system
/Resolver.cxx
→
src/
net
/Resolver.cxx
View file @
42890b9a
File moved
src/
system
/Resolver.hxx
→
src/
net
/Resolver.hxx
View file @
42890b9a
File moved
src/
system
/SocketError.cxx
→
src/
net
/SocketError.cxx
View file @
42890b9a
File moved
src/
system
/SocketError.hxx
→
src/
net
/SocketError.hxx
View file @
42890b9a
File moved
src/
system
/SocketUtil.cxx
→
src/
net
/SocketUtil.cxx
View file @
42890b9a
...
...
@@ -20,7 +20,7 @@
#include "config.h"
#include "SocketUtil.hxx"
#include "SocketError.hxx"
#include "fd_util.h"
#include "
system/
fd_util.h"
#include <unistd.h>
...
...
src/
system
/SocketUtil.hxx
→
src/
net
/SocketUtil.hxx
View file @
42890b9a
File moved
src/output/plugins/httpd/HttpdClient.cxx
View file @
42890b9a
...
...
@@ -23,7 +23,7 @@
#include "util/ASCII.hxx"
#include "Page.hxx"
#include "IcyMetaDataServer.hxx"
#include "
system
/SocketError.hxx"
#include "
net
/SocketError.hxx"
#include "Log.hxx"
#include <assert.h>
...
...
src/output/plugins/httpd/HttpdOutputPlugin.cxx
View file @
42890b9a
...
...
@@ -25,7 +25,7 @@
#include "encoder/EncoderInterface.hxx"
#include "encoder/EncoderPlugin.hxx"
#include "encoder/EncoderList.hxx"
#include "
system
/Resolver.hxx"
#include "
net
/Resolver.hxx"
#include "Page.hxx"
#include "IcyMetaDataServer.hxx"
#include "system/fd_util.h"
...
...
test/run_resolver.cxx
View file @
42890b9a
...
...
@@ -18,7 +18,7 @@
*/
#include "config.h"
#include "
system
/Resolver.hxx"
#include "
net
/Resolver.hxx"
#include "util/Error.hxx"
#include "Log.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