aboutsummaryrefslogtreecommitdiffstats
path: root/src/update.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-27 19:34:54 +0100
committerMax Kellermann <max@duempel.org>2008-11-27 19:34:54 +0100
commitced4abcd642e3bae76e0feed07edfab163956c48 (patch)
tree570ddcfd2e26c863a37574cdbd5b45db78166d27 /src/update.c
parentbd0653f440adf736427d9cc9e3565489cc9a1cde (diff)
downloadmpd-ced4abcd642e3bae76e0feed07edfab163956c48.tar.gz
mpd-ced4abcd642e3bae76e0feed07edfab163956c48.tar.xz
mpd-ced4abcd642e3bae76e0feed07edfab163956c48.zip
update: added update_global_init() and update_global_finish()
Those two functions are called when MPD starts and exits. It allows the update library to perform global initialization and deinitialization. The implementations are currently empty.
Diffstat (limited to 'src/update.c')
-rw-r--r--src/update.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/update.c b/src/update.c
index 8abc15f64..b4f02d59c 100644
--- a/src/update.c
+++ b/src/update.c
@@ -580,3 +580,11 @@ void reap_update_task(void)
progress = UPDATE_PROGRESS_IDLE;
}
}
+
+void update_global_init(void)
+{
+}
+
+void update_global_finish(void)
+{
+}