Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

loadcfg.h File Reference

Loads settings from the configuration file into global variables. More...

Go to the source code of this file.

Defines

#define LOADCFG_H_VERSION   "$Id: loadcfg.h,v 2.0 2002/06/04 14:34:21 jongfoster Exp $"

Functions

configuration_specload_config (void)

Variables

const char * configfile
int Argc
const char ** Argv
short int MustReload
const char loadcfg_rcs []
const char loadcfg_h_rcs []


Detailed Description

Loads settings from the configuration file into global variables.

This file contains both the routine to load the configuration and the global variables it writes to.

Log:
loadcfg.h,v
Revision 2.0 2002/06/04 14:34:21 jongfoster Moving source files to src/

Revision 1.11 2002/03/26 22:29:55 swa we have a new homepage!

Revision 1.10 2002/03/24 13:25:43 swa name change related issues

Revision 1.9 2002/03/16 23:54:06 jongfoster Adding graceful termination feature, to help look for memory leaks. If you enable this (which, by design, has to be done by hand editing config.h) and then go to http://i.j.b/die, then the program will exit cleanly after the *next* request. It should free all the memory that was used.

Revision 1.8 2001/12/30 14:07:32 steudten

Revision 1.7 2001/07/30 22:08:36 jongfoster Tidying up defines: 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

Revision 1.3 2001/05/20 01:21:20 jongfoster Version 2.9.4 checkin. Revision 1.2 2001/05/17 23:01:01 oes Revision 1.1.1.1 2001/05/15 13:58:58 oes Initial import of version 2.9.3 source tree


Function Documentation

struct configuration_spec* load_config void   
 

Load the config file and all parameters.

Returns:
The configuration_spec, or NULL on error.


Variable Documentation

int Argc
 

Global argument count, so that CGI functions can access the command line.

const char** Argv
 

Global argument list, so that CGI functions can access the command line.

const char* configfile
 

The filename of the config file.

const char loadcfg_h_rcs[]
 

Version information about loadcfg.h.

const char loadcfg_rcs[]
 

Version information about loadcfg.c.


Generated on Tue Jun 4 18:54:49 2002 for Privoxy 3.1.1 by doxygen1.2.15