diff options
author | Max Kellermann <max@duempel.org> | 2008-12-30 16:28:07 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-30 16:28:07 +0100 |
commit | 671480814c643cd094978e4a0db76687fbddec4f (patch) | |
tree | 06d2b04e3d02047ad62025b748046b08624ff6ab /src/daemon.h | |
parent | d99595c2143ef31d4bf3b2274d55100f39363be3 (diff) | |
download | mpd-671480814c643cd094978e4a0db76687fbddec4f.tar.gz mpd-671480814c643cd094978e4a0db76687fbddec4f.tar.xz mpd-671480814c643cd094978e4a0db76687fbddec4f.zip |
main: moved daemonize() to daemon.c
Diffstat (limited to 'src/daemon.h')
-rw-r--r-- | src/daemon.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/daemon.h b/src/daemon.h new file mode 100644 index 000000000..da83b85a8 --- /dev/null +++ b/src/daemon.h @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2003-2008 The Music Player Daemon Project + * http://www.musicpd.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef DAEMON_H +#define DAEMON_H + +#include "cmdline.h" + +void +daemonize(Options *options); + +#endif |