X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=jcc.h;h=cca74902a4e0108372b2c8e5f8146a81ff626333;hp=ddd23bdd988599899ea30fd84ca4efbb2e311567;hb=fb28750fa199326b0df115d9437cf88a8f6df5e0;hpb=27e7ab19921a75f023658b07d314719875be2062 diff --git a/jcc.h b/jcc.h index ddd23bdd..cca74902 100644 --- a/jcc.h +++ b/jcc.h @@ -1,6 +1,6 @@ #ifndef JCC_H_INCLUDED #define JCC_H_INCLUDED -#define JCC_H_VERSION "$Id: jcc.h,v 1.6 2001/07/30 22:08:36 jongfoster Exp $" +#define JCC_H_VERSION "$Id: jcc.h,v 1.7 2001/11/05 21:41:43 steudten Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.h,v $ @@ -35,6 +35,15 @@ * * Revisions : * $Log: jcc.h,v $ + * Revision 1.7 2001/11/05 21:41:43 steudten + * Add changes to be a real daemon just for unix os. + * (change cwd to /, detach from controlling tty, set + * process group and session leader to the own process. + * Add DBG() Macro. + * Add some fatal-error log message for failed malloc(). + * Add '-d' if compiled with 'configure --with-debug' to + * enable debug output. + * * Revision 1.6 2001/07/30 22:08:36 jongfoster * Tidying up #defines: * - All feature #defines are now of the form FEATURE_xxx @@ -79,9 +88,11 @@ extern int urls_rejected; #endif /*def FEATURE_STATISTICS*/ extern struct client_state clients[]; - extern struct file_list files[]; +#ifdef unix +extern const char *pidfile; +#endif /* Functions */