Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

url_spec Struct Reference

A URL pattern. More...


Data Fields

char * spec
char * dbuffer
char ** dvec
int dcount
int unanchored
int port
char * path
int pathlen
regex_t * preg


Detailed Description

A URL pattern.


Field Documentation

char* url_spec::dbuffer
 

Buffer with '\0'-delimited domain name, or NULL to match all hosts.

int url_spec::dcount
 

How many parts to this domain? (length of dvec).

char** url_spec::dvec
 

List of pointers to the strings in dbuffer.

char* url_spec::path
 

The source for the regex.

int url_spec::pathlen
 

==strlen(path).

Needed for prefix matching. FIXME: Now obsolete?

int url_spec::port
 

The port number, or 0 to match all ports.

regex_t* url_spec::preg
 

Regex for matching path part.

char* url_spec::spec
 

The string which was parsed to produce this url_spec.

Used for debugging or display only.

int url_spec::unanchored
 

Bitmap - flags are ANCHOR_LEFT and ANCHOR_RIGHT.


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