X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=miscutil.h;h=bd34565c8508c4be8d4427dbd6c0f2e0d7ce051c;hp=cd65fde9e09d1218b8e0ffb3b78c49ad3c11fc25;hb=e7f33c16b512f119f65800e85ba0beecfd3a1545;hpb=4c848e28146fe9a5f127101ce6f04553bcda1645 diff --git a/miscutil.h b/miscutil.h index cd65fde9..bd34565c 100644 --- a/miscutil.h +++ b/miscutil.h @@ -1,6 +1,6 @@ #ifndef MISCUTIL_H_INCLUDED #define MISCUTIL_H_INCLUDED -#define MISCUTIL_H_VERSION "$Id: miscutil.h,v 1.13 2001/10/29 03:48:10 david__schmidt Exp $" +#define MISCUTIL_H_VERSION "$Id: miscutil.h,v 1.14 2001/11/05 21:43:48 steudten Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/miscutil.h,v $ @@ -37,6 +37,9 @@ * * Revisions : * $Log: miscutil.h,v $ + * Revision 1.14 2001/11/05 21:43:48 steudten + * Add global var 'basedir' for unix os. + * * Revision 1.13 2001/10/29 03:48:10 david__schmidt * OS/2 native needed a snprintf() routine. Added one to miscutil, brackedted * by and __OS2__ ifdef. @@ -120,6 +123,11 @@ extern "C" { extern const char *basedir; extern void *zalloc(int size); +#if defined(unix) +extern void writePidFile( void ); +extern void deletePidFile( void ); +#endif /* unix */ + extern unsigned int hash_string(const char* s); extern char *safe_strerror(int err);