24 #ifndef FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_H_INCLUDED 25 #define FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_H_INCLUDED 45 #include "common-cxx/config.h" 52 typedef struct fiftyone_degrees_config_device_detecton_t {
72 #define FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_UPDATE_DEFAULT true 75 #ifndef FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_DEFAULT_UNMATCHED 76 #define FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_DEFAULT_UNMATCHED false 79 #ifndef FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_DEFAULT_SPECIAL_EVIDENCE 80 #define FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_DEFAULT_SPECIAL_EVIDENCE true 87 #define FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_UPDATE \ 88 FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_UPDATE_DEFAULT 94 #define FIFTYONE_DEGREES_DEVICE_DETECTION_CONFIG_DEFAULT_WITH_INDEX \ 95 FIFTYONE_DEGREES_CONFIG_DEFAULT_WITH_INDEX, \ 96 FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_UPDATE, \ 98 FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_DEFAULT_UNMATCHED, \ 99 FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_DEFAULT_SPECIAL_EVIDENCE 105 #define FIFTYONE_DEGREES_DEVICE_DETECTION_CONFIG_DEFAULT_NO_INDEX \ 106 FIFTYONE_DEGREES_CONFIG_DEFAULT_NO_INDEX, \ 107 FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_UPDATE, \ 109 FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_DEFAULT_UNMATCHED, \ 110 FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_DEFAULT_SPECIAL_EVIDENCE bool processSpecialEvidence
Some evidence requires additional processing that doesn't need to be checked for if being used in an ...
Definition: config-dd.h:63
bool updateMatchedUserAgent
True if the detection should record the matched characters from the target User-Agent.
Definition: config-dd.h:54
bool allowUnmatched
True if there should be at least one matched node in order for the results to be considered valid.
Definition: config-dd.h:60
Base configuration structure containing common configuration options, and options that apply to struc...
Definition: config.h:49
fiftyoneDegreesConfigBase b
Base structure members.
Definition: config-dd.h:53
Device detection configuration structure containing device detection specific configuration options,...
Definition: config-dd.h:52
size_t maxMatchedUserAgentLength
Number of characters to consider in the matched User-Agent.
Definition: config-dd.h:57