X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/c4f2d992e4a0fc068281376d89ec38de56dc2f58..af4f4d6a77aceba8e2d6f58d15e894df320e7c24:/src/daemon.h diff --git a/src/daemon.h b/src/daemon.h index ed3c05c..b600454 100644 --- a/src/daemon.h +++ b/src/daemon.h @@ -1,13 +1,13 @@ /* -*-c-*- * - * $Id: daemon.h,v 1.1 1997/07/21 13:47:50 mdw Exp $ + * $Id: daemon.h,v 1.5 2004/04/08 01:36:20 mdw Exp $ * * Running a `become' daemon * - * (c) 1997 EBI + * (c) 1998 EBI */ -/*----- Licencing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of `become' * @@ -22,16 +22,8 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with `become'; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -/*----- Revision history --------------------------------------------------* - * - * $Log: daemon.h,v $ - * Revision 1.1 1997/07/21 13:47:50 mdw - * Initial revision - * + * along with `become'; if not, write to the Free Software Foundation, + * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef DAEMON_H @@ -75,7 +67,9 @@ extern void daemon_readKey(const char */*kf*/); * Use: Starts `become' up in daemon mode. */ -extern void daemon_init(const char */*cf*/, int /*port*/); +#define df_nofork 1u + +extern void daemon_init(const char */*cf*/, int /*port*/, unsigned flags); /*----- That's all, folks -------------------------------------------------*/