aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon.h')
-rw-r--r--src/daemon.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/daemon.h b/src/daemon.h
index f2ea58c5f..8f1b70313 100644
--- a/src/daemon.h
+++ b/src/daemon.h
@@ -22,12 +22,31 @@
#include "cmdline.h"
/**
+ * Kill the MPD which is currently running, pid determined from the
+ * pid file.
+ */
+void
+daemonize_kill(void);
+
+/**
* Close stdin (fd 0) and re-open it as /dev/null.
*/
void
daemonize_close_stdin(void);
+/**
+ * Change to the configured Unix user.
+ */
+void
+daemonize_set_user(void);
+
void
daemonize(Options *options);
+/**
+ * Deletes the pidfile which was created when MPD started.
+ */
+void
+daemonize_delete_pidfile(void);
+
#endif