X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=loadcfg.h;h=78b18e15b3b5c06960d22df220ca23aabb76b331;hp=ea13f4833c19f5a04799c82dc58de986adbaf158;hb=7679acc0d466f9ed8e0007d5c472b5e2e527c255;hpb=43da0ce639b1cf540198b2f63e790d9127725343 diff --git a/loadcfg.h b/loadcfg.h index ea13f483..78b18e15 100644 --- a/loadcfg.h +++ b/loadcfg.h @@ -1,6 +1,6 @@ -#ifndef _LOADCFG_H -#define _LOADCFG_H -#define LOADCFG_H_VERSION "$Id: loadcfg.h,v 1.4 2001/05/22 18:46:04 oes Exp $" +#ifndef LOADCFG_H_INCLUDED +#define LOADCFG_H_INCLUDED +#define LOADCFG_H_VERSION "$Id: loadcfg.h,v 1.6 2001/07/29 18:58:15 jongfoster Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loadcfg.h,v $ @@ -37,6 +37,17 @@ * * Revisions : * $Log: loadcfg.h,v $ + * Revision 1.6 2001/07/29 18:58:15 jongfoster + * Removing nested #includes, adding forward declarations for needed + * structures, and changing the #define _FILENAME_H to FILENAME_H_INCLUDED. + * + * Revision 1.5 2001/05/26 00:28:36 jongfoster + * Automatic reloading of config file. + * Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32). + * Most of the global variables have been moved to a new + * struct configuration_spec, accessed through csp->config->globalname + * Most of the globals remaining are used by the Win32 GUI. + * * Revision 1.4 2001/05/22 18:46:04 oes * * - Enabled filtering banners by size rather than URL @@ -104,22 +115,19 @@ *********************************************************************/ -/* Declare struct FILE for vars and funcs. */ -#include - -/* All of our project's data types. */ -#include "project.h" - #ifdef __cplusplus extern "C" { #endif +/* Don't need project.h, only this: */ +struct configuration_spec; + /* Global variables */ -#ifdef TOGGLE +#ifdef FEATURE_TOGGLE /* indicates if ijb is enabled */ extern int g_bToggleIJB; -#endif +#endif /* def FEATURE_TOGGLE */ extern const char *configfile; @@ -144,7 +152,7 @@ extern const char loadcfg_h_rcs[]; } /* extern "C" */ #endif -#endif /* ndef _JCC_H */ +#endif /* ndef LOADCFG_H_INCLUDED */ /* Local Variables: