aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-01 18:12:00 +0100
committerMax Kellermann <max@duempel.org>2009-01-01 18:12:00 +0100
commit9f5934d95bac6436ccc9a6dadc57e1e062505a79 (patch)
tree753296216df7698da7fd6b25a1719b177c098825 /src
parent99f8dc0168c4fc0c20de0a2e301ef84ed40e591a (diff)
downloadmpd-9f5934d95bac6436ccc9a6dadc57e1e062505a79.tar.gz
mpd-9f5934d95bac6436ccc9a6dadc57e1e062505a79.tar.xz
mpd-9f5934d95bac6436ccc9a6dadc57e1e062505a79.zip
main_notify: renamed source to event_pipe.c
We are going to migrate away from the concept of notifying the main thread. There should be events sent to it instead. This patch starts a series to implement that.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
-rw-r--r--src/client.c2
-rw-r--r--src/database.c2
-rw-r--r--src/event_pipe.c (renamed from src/main_notify.c)2
-rw-r--r--src/event_pipe.h (renamed from src/main_notify.h)4
-rw-r--r--src/idle.c2
-rw-r--r--src/main.c2
-rw-r--r--src/player_control.c2
-rw-r--r--src/player_thread.c2
-rw-r--r--src/update.c2
10 files changed, 12 insertions, 12 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 1c18bc4a1..501bfe4e5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -44,7 +44,7 @@ mpd_headers = \
log.h \
ls.h \
main.h \
- main_notify.h \
+ event_pipe.h \
daemon.h \
normalize.h \
compress.h \
@@ -125,7 +125,7 @@ mpd_SOURCES = \
log.c \
ls.c \
main.c \
- main_notify.c \
+ event_pipe.c \
daemon.c \
normalize.c \
compress.c \
diff --git a/src/client.c b/src/client.c
index 9a251d3db..02d35cc4f 100644
--- a/src/client.c
+++ b/src/client.c
@@ -22,7 +22,7 @@
#include "listen.h"
#include "permission.h"
#include "utils.h"
-#include "main_notify.h"
+#include "event_pipe.h"
#include "dlist.h"
#include "idle.h"
#include "main.h"
diff --git a/src/database.c b/src/database.c
index 1472b7120..8b66bc070 100644
--- a/src/database.c
+++ b/src/database.c
@@ -28,7 +28,7 @@
#include "utils.h"
#include "dbUtils.h"
#include "update.h"
-#include "main_notify.h"
+#include "event_pipe.h"
#include "config.h"
#include <glib.h>
diff --git a/src/main_notify.c b/src/event_pipe.c
index 6a5ff484e..ac76209da 100644
--- a/src/main_notify.c
+++ b/src/event_pipe.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "main_notify.h"
+#include "event_pipe.h"
#include "utils.h"
#include "log.h"
diff --git a/src/main_notify.h b/src/event_pipe.h
index a02564cc1..ddcc420b7 100644
--- a/src/main_notify.h
+++ b/src/event_pipe.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#ifndef MPD_MAIN_NOTIFY_H
-#define MPD_MAIN_NOTIFY_H
+#ifndef EVENT_PIPE_H
+#define EVENT_PIPE_H
#include <glib.h>
diff --git a/src/idle.c b/src/idle.c
index 4de252ada..f7c3aadd3 100644
--- a/src/idle.c
+++ b/src/idle.c
@@ -22,7 +22,7 @@
*/
#include "idle.h"
-#include "main_notify.h"
+#include "event_pipe.h"
#include <assert.h>
#include <glib.h>
diff --git a/src/main.c b/src/main.c
index 8ab0b3630..98aeb7890 100644
--- a/src/main.c
+++ b/src/main.c
@@ -49,7 +49,7 @@
#include "../config.h"
#include "normalize.h"
#include "zeroconf.h"
-#include "main_notify.h"
+#include "event_pipe.h"
#include "dirvec.h"
#include "songvec.h"
#include "tag_pool.h"
diff --git a/src/player_control.c b/src/player_control.c
index 049207ae7..4560dec81 100644
--- a/src/player_control.c
+++ b/src/player_control.c
@@ -23,7 +23,7 @@
#include "song.h"
#include "idle.h"
#include "pcm_utils.h"
-#include "main_notify.h"
+#include "event_pipe.h"
#include <assert.h>
#include <stdio.h>
diff --git a/src/player_thread.c b/src/player_thread.c
index bbbb5e619..c8352555b 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -22,7 +22,7 @@
#include "audio.h"
#include "pcm_utils.h"
#include "path.h"
-#include "main_notify.h"
+#include "event_pipe.h"
#include "crossfade.h"
#include "song.h"
#include "pipe.h"
diff --git a/src/update.c b/src/update.c
index 67d197236..4d0ed5118 100644
--- a/src/update.c
+++ b/src/update.c
@@ -26,7 +26,7 @@
#include "path.h"
#include "playlist.h"
#include "utils.h"
-#include "main_notify.h"
+#include "event_pipe.h"
#include "condition.h"
#include "update.h"
#include "idle.h"