X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/c4f2d992e4a0fc068281376d89ec38de56dc2f58..4c37c6af624a9d4dabadac32a5e566d388ee78d7:/src/daemon.h diff --git a/src/daemon.h b/src/daemon.h index ed3c05c..cca5bdf 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.4 2003/10/12 10:00:06 mdw Exp $ * * Running a `become' daemon * - * (c) 1997 EBI + * (c) 1998 EBI */ -/*----- Licencing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of `become' * @@ -22,14 +22,23 @@ * 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. + * along with `become'; if not, write to the Free Software Foundation, + * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /*----- Revision history --------------------------------------------------* * * $Log: daemon.h,v $ - * Revision 1.1 1997/07/21 13:47:50 mdw + * Revision 1.4 2003/10/12 10:00:06 mdw + * Fix for daemon mode. Oops. + * + * Revision 1.3 1998/01/12 16:46:01 mdw + * Fix copyright date. + * + * Revision 1.2 1997/08/04 10:24:21 mdw + * Sources placed under CVS control. + * + * Revision 1.1 1997/07/21 13:47:50 mdw * Initial revision * */ @@ -75,7 +84,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 -------------------------------------------------*/