Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

configuration_spec Struct Reference

Data loaded from the configuration file. More...


Data Fields

int debug
int multi_threaded
unsigned feature_flags
const char * logfile
const char * confdir
const char * logdir
const char * actions_file [MAX_ACTION_FILES]
const char * actions_file_short [MAX_ACTION_FILES]
char * admin_address
char * proxy_info_url
char * usermanual
const char * re_filterfile
const char * haddr
int hport
size_t buffer_limit
forward_specforward
char * proxy_args
file_listconfig_file_list
int(* loaders [NLOADERS])(struct client_state *)
int need_bind


Detailed Description

Data loaded from the configuration file.

(Anomaly: toggle is still handled through a global, not this structure)


Field Documentation

const char* configuration_spec::actions_file[MAX_ACTION_FILES]
 

The full paths to the actions files.

const char* configuration_spec::actions_file_short[MAX_ACTION_FILES]
 

The short names of the actions files.

char* configuration_spec::admin_address
 

The administrator's email address.

size_t configuration_spec::buffer_limit
 

Size limit for IOB.

const char* configuration_spec::confdir
 

The config file directory.

struct file_list* configuration_spec::config_file_list
 

The configuration file object.

int configuration_spec::debug
 

What to log.

unsigned configuration_spec::feature_flags
 

Bitmask of features that can be enabled/disabled through the config file.

Currently defined bits:

  • RUNTIME_FEATURE_CGI_EDIT_ACTIONS
  • RUNTIME_FEATURE_CGI_TOGGLE

struct forward_spec* configuration_spec::forward
 

Information about parent proxies (forwarding).

const char* configuration_spec::haddr
 

IP address to bind to.

Defaults to HADDR_DEFAULT == 127.0.0.1.

int configuration_spec::hport
 

Port to bind to.

Defaults to HADDR_PORT == 8118.

int(* configuration_spec::loaders[NLOADERS])(struct client_state *)
 

List of loaders.

const char* configuration_spec::logdir
 

The log file directory.

const char* configuration_spec::logfile
 

The log file name.

int configuration_spec::multi_threaded
 

Nonzero to enable multithreading.

int configuration_spec::need_bind
 

Nonzero if we need to bind() to the new port.

char* configuration_spec::proxy_args
 

All options from the config file, HTML-formatted.

char* configuration_spec::proxy_info_url
 

A URL with info on this proxy.

const char* configuration_spec::re_filterfile
 

The file name of the pcre filter file.

char* configuration_spec::usermanual
 

URL to the user manual (on our website or local copy).


The documentation for this struct was generated from the following file:
Generated on Tue Jun 4 18:54:49 2002 for Privoxy 3.1.1 by doxygen1.2.15