\r\n

51Degrees Device Detection Varnish  4.3

A device detection module for Varnish

vmodfod_global Struct Reference

Detailed Description

Global structure used by the module.

This contains elements which are required in multiple parts of the module.

Data Fields

ResourceManager *  manager
Single manager instance constructed at startup. More...
ConfigHash *  config
Single config instance constructed at startup. More...
vmodfod_config_int  drift
Drift value that allows substrings to be matched in a wider range of character positions. More...
vmodfod_config_int  difference
Difference value to allow User-Agents where the character is slightly different from what is expected. More...
vmodfod_config_int  maxConcurrency
Max number of concurrent requests to be expected. More...
vmodfod_config_bool  allowUnmatched
Allow unmatched results. More...
vmodfod_config_bool  usePerformanceGraph
Use performance optimized graph. More...
vmodfod_config_bool  usePredictiveGraph
Use predictive optimized graph. More...
const char *  performanceProfile
The performance profile name. More...
const char *  requiredProperties
The required properties. More...
const char *  propertyDelimiter
The delimiter to use when returning value strings. More...
StatusCode  status
Status returned when the provider is initialised. More...
size_t  setHeadersCount
Number of headers in the setHeaders array. More...
vmodfod_setHeader *  setHeaders
Array of response headers to set in the set_resp_headers function. More...

Field Documentation

◆ allowUnmatched

vmodfod_config_bool vmodfod_global::allowUnmatched

Allow unmatched results.

◆ config

ConfigHash* vmodfod_global::config

Single config instance constructed at startup.

◆ difference

vmodfod_config_int vmodfod_global::difference

Difference value to allow User-Agents where the character is slightly different from what is expected.

◆ drift

vmodfod_config_int vmodfod_global::drift

Drift value that allows substrings to be matched in a wider range of character positions.

◆ manager

ResourceManager* vmodfod_global::manager

Single manager instance constructed at startup.

◆ maxConcurrency

vmodfod_config_int vmodfod_global::maxConcurrency

Max number of concurrent requests to be expected.

◆ performanceProfile

const char* vmodfod_global::performanceProfile

The performance profile name.

◆ propertyDelimiter

const char* vmodfod_global::propertyDelimiter

The delimiter to use when returning value strings.

◆ requiredProperties

const char* vmodfod_global::requiredProperties

The required properties.

◆ setHeaders

vmodfod_setHeader* vmodfod_global::setHeaders

Array of response headers to set in the set_resp_headers function.

◆ setHeadersCount

size_t vmodfod_global::setHeadersCount

Number of headers in the setHeaders array.

◆ status

StatusCode vmodfod_global::status

Status returned when the provider is initialised.

◆ usePerformanceGraph

vmodfod_config_bool vmodfod_global::usePerformanceGraph

Use performance optimized graph.

◆ usePredictiveGraph

vmodfod_config_bool vmodfod_global::usePredictiveGraph

Use predictive optimized graph.


The documentation for this struct was generated from the following file:
On This Page