51Degrees Device Detection C/C++  4.4

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


1 /* *********************************************************************
2  * This Original Work is copyright of 51 Degrees Mobile Experts Limited.
3  * Copyright 2023 51 Degrees Mobile Experts Limited, Davidson House,
4  * Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
5  *
6  * This Original Work is licensed under the European Union Public Licence
7  * (EUPL) v.1.2 and is subject to its terms as set out below.
8  *
9  * If a copy of the EUPL was not distributed with this file, You can obtain
10  * one at https://opensource.org/licenses/EUPL-1.2.
11  *
12  * The 'Compatible Licences' set out in the Appendix to the EUPL (as may be
13  * amended by the European Commission) shall be deemed incompatible for
14  * the purposes of the Work and the provisions of the compatibility
15  * clause in Article 5 of the EUPL shall not apply.
16  *
17  * If using the Work as, or as part of, a network application, by
18  * including the attribution notice(s) required under Article 5 of the EUPL
19  * in the end user terms of the application under an appropriate heading,
20  * such notice(s) shall fulfill the requirements of that article.
21  * ********************************************************************* */
45 #include "hash.h"
46 #include "../fiftyone.h"
57 #define ResultsHashGetValues fiftyoneDegreesResultsHashGetValues
58 #define ResultsHashGetHasValues fiftyoneDegreesResultsHashGetHasValues
59 #define ResultsHashGetNoValueReason fiftyoneDegreesResultsHashGetNoValueReason
60 #define ResultsHashGetNoValueReasonMessage fiftyoneDegreesResultsHashGetNoValueReasonMessage
61 #define ResultsHashGetValuesString fiftyoneDegreesResultsHashGetValuesString
62 #define ResultsHashGetValuesStringByRequiredPropertyIndex fiftyoneDegreesResultsHashGetValuesStringByRequiredPropertyIndex
63 #define HashGetDeviceIdFromResult fiftyoneDegreesHashGetDeviceIdFromResult
64 #define HashGetDeviceIdFromResults fiftyoneDegreesHashGetDeviceIdFromResults
65 #define ResultsHashCreate fiftyoneDegreesResultsHashCreate
66 #define ResultsHashFree fiftyoneDegreesResultsHashFree
67 #define ResultsHashFromDeviceId fiftyoneDegreesResultsHashFromDeviceId
68 #define ResultsHashFromUserAgent fiftyoneDegreesResultsHashFromUserAgent
69 #define ResultsHashFromEvidence fiftyoneDegreesResultsHashFromEvidence
70 #define DataSetHashGet fiftyoneDegreesDataSetHashGet
71 #define DataSetHashRelease fiftyoneDegreesDataSetHashRelease
72 #define HashSizeManagerFromFile fiftyoneDegreesHashSizeManagerFromFile
73 #define HashSizeManagerFromMemory fiftyoneDegreesHashSizeManagerFromMemory
74 #define HashInitManagerFromFile fiftyoneDegreesHashInitManagerFromFile
75 #define HashInitManagerFromMemory fiftyoneDegreesHashInitManagerFromMemory
76 #define HashReloadManagerFromOriginalFile fiftyoneDegreesHashReloadManagerFromOriginalFile
77 #define HashReloadManagerFromFile fiftyoneDegreesHashReloadManagerFromFile
78 #define HashReloadManagerFromMemory fiftyoneDegreesHashReloadManagerFromMemory
79 #define HashIterateProfilesForPropertyAndValue fiftyoneDegreesHashIterateProfilesForPropertyAndValue
81 #define HashInMemoryConfig fiftyoneDegreesHashInMemoryConfig
82 #define HashHighPerformanceConfig fiftyoneDegreesHashHighPerformanceConfig
83 #define HashLowMemoryConfig fiftyoneDegreesHashLowMemoryConfig
84 #define HashBalancedConfig fiftyoneDegreesHashBalancedConfig
85 #define HashBalancedTempConfig fiftyoneDegreesHashBalancedTempConfig
86 #define HashDefaultConfig fiftyoneDegreesHashDefaultConfig
88 MAP_TYPE(GraphNode)
92 #define GraphNodeReadFromFile fiftyoneDegreesGraphNodeReadFromFile
93 #define GraphGetNode fiftyoneDegreesGraphGetNode
94 #define GraphGetMatchingHashFromListNodeTable fiftyoneDegreesGraphGetMatchingHashFromListNodeTable
95 #define GraphGetMatchingHashFromListNodeSearch fiftyoneDegreesGraphGetMatchingHashFromListNodeSearch
96 #define GraphGetMatchingHashFromListNode fiftyoneDegreesGraphGetMatchingHashFromListNode
97 #define GraphGetMatchingHashFromBinaryNode fiftyoneDegreesGraphGetMatchingHashFromBinaryNode
98 #define GraphGetMatchingHashFromNode fiftyoneDegreesGraphGetMatchingHashFromNode
99 #define GraphTraceCreate fiftyoneDegreesGraphTraceCreate
100 #define GraphTraceFree fiftyoneDegreesGraphTraceFree
101 #define GraphTraceAppend fiftyoneDegreesGraphTraceAppend
102 #define GraphTraceGet fiftyoneDegreesGraphTraceGet
107 #endif
#define MAP_TYPE(t)
Macro used to support synonym implementation.
Definition: fiftyone.h:93
Data structure containing the root nodes for the combination of an evidence item and a component.
Definition: hash.h:279
Singular User-Agent result returned by a Hash process method.
Definition: hash.h:326
Hash record structure to compare to a substring hash.
Definition: graph.h:128
Array of items of type fiftyoneDegreesResultHash used to easily access and track the size of the arra...
Definition: hash.h:365
Data set structure containing all the components used for detections.
Definition: hash.h:295
Definition: hash.h:183
Dataset header containing information about the dataset.
Definition: hash.h:193
Hash specific configuration structure.
Definition: hash.h:243
Trace node structure used to trace the route taken when evaluating a graph.
Definition: graph.h:144