\r\n

51Degrees Device Detection C/C++  4.4

A device detection library that is used natively or by 51Degrees products

fiftyoneDegreesDataSetBase Struct Reference

Detailed Description

Base data set structure which contains the 'must have's for all data sets.

Examples
Hash/StronglyTyped.c.

Collaboration diagram for fiftyoneDegreesDataSetBase:

[legend]

Data Fields

const char  fileName [FIFTYONE_DEGREES_FILE_MAX_PATH]
Path to the file used to initialise the data set. More...
const char  masterFileName [FIFTYONE_DEGREES_FILE_MAX_PATH]
Path to the file used to initialise the data set. More...
void *  memoryToFree
A pointer to the memory where the data within the data set is held. More...
bool  isInMemory
True if the data file has been read into continuous memory.
fiftyoneDegreesFilePool  filePool
Linked list of file readers.
fiftyoneDegreesResourceHandle *  handle
Pointer to the handle that tracks this data set instance.
fiftyoneDegreesPropertiesAvailable *  available
Available properties.
fiftyoneDegreesHeaders *  uniqueHeaders
Related HTTP headers.
fiftyoneDegreesOverridePropertyArray *  overridable
Array of properties that can be overridden.
const void *  config
Pointer to the config used to create the dataset.

Field Documentation

◆ fileName

const char fiftyoneDegreesDataSetBase::fileName[FIFTYONE_DEGREES_FILE_MAX_PATH]

Path to the file used to initialise the data set.

This will either be the same as the master file name, or the path to the temp file being used.

◆ memoryToFree

void* fiftyoneDegreesDataSetBase::memoryToFree

A pointer to the memory where the data within the data set is held.

NULL if the entire data set is not held in memory, the caller is going to free the memory or there are a mixture of caches and partially allocated memory in use.


The documentation for this struct was generated from the following file:
  • /home/runner/work/device-detection-cxx/device-detection-cxx/common/device-detection-cxx/src/common-cxx/dataset.h
On This Page