51Degrees Device Detection C/C++  4.2Newer Version 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 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close,
4  * Caversham, Reading, Berkshire, United Kingdom RG4 7BY.
5  *
6  * This Original Work is licensed under the European Union Public Licence (EUPL)
7  * 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"
56 #define ResultsHashGetValues fiftyoneDegreesResultsHashGetValues
57 #define ResultsHashGetHasValues fiftyoneDegreesResultsHashGetHasValues
58 #define ResultsHashGetValuesString fiftyoneDegreesResultsHashGetValuesString
59 #define ResultsHashGetValuesStringByRequiredPropertyIndex fiftyoneDegreesResultsHashGetValuesStringByRequiredPropertyIndex
60 #define HashGetDeviceIdFromResult fiftyoneDegreesHashGetDeviceIdFromResult
61 #define HashGetDeviceIdFromResults fiftyoneDegreesHashGetDeviceIdFromResults
62 #define ResultsHashCreate fiftyoneDegreesResultsHashCreate
63 #define ResultsHashFree fiftyoneDegreesResultsHashFree
64 #define ResultsHashFromDeviceId fiftyoneDegreesResultsHashFromDeviceId
65 #define ResultsHashFromUserAgent fiftyoneDegreesResultsHashFromUserAgent
66 #define ResultsHashFromEvidence fiftyoneDegreesResultsHashFromEvidence
67 #define DataSetHashGet fiftyoneDegreesDataSetHashGet
68 #define DataSetHashRelease fiftyoneDegreesDataSetHashRelease
69 #define HashInitManagerFromFile fiftyoneDegreesHashInitManagerFromFile
70 #define HashInitManagerFromMemory fiftyoneDegreesHashInitManagerFromMemory
71 #define HashReloadManagerFromOriginalFile fiftyoneDegreesHashReloadManagerFromOriginalFile
72 #define HashReloadManagerFromFile fiftyoneDegreesHashReloadManagerFromFile
73 #define HashReloadManagerFromMemory fiftyoneDegreesHashReloadManagerFromMemory
74 #define HashIterateProfilesForPropertyAndValue fiftyoneDegreesHashIterateProfilesForPropertyAndValue
76 #define HashInMemoryConfig fiftyoneDegreesHashInMemoryConfig
77 #define HashHighPerformanceConfig fiftyoneDegreesHashHighPerformanceConfig
78 #define HashLowMemoryConfig fiftyoneDegreesHashLowMemoryConfig
79 #define HashBalancedConfig fiftyoneDegreesHashBalancedConfig
80 #define HashBalancedTempConfig fiftyoneDegreesHashBalancedTempConfig
81 #define HashDefaultConfig fiftyoneDegreesHashDefaultConfig
83 MAP_TYPE(GraphNode)
87 #define GraphNodeReadFromFile fiftyoneDegreesGraphNodeReadFromFile
88 #define GraphGetNode fiftyoneDegreesGraphGetNode
89 #define GraphGetMatchingHashFromListNodeTable fiftyoneDegreesGraphGetMatchingHashFromListNodeTable
90 #define GraphGetMatchingHashFromListNodeSearch fiftyoneDegreesGraphGetMatchingHashFromListNodeSearch
91 #define GraphGetMatchingHashFromListNode fiftyoneDegreesGraphGetMatchingHashFromListNode
92 #define GraphGetMatchingHashFromBinaryNode fiftyoneDegreesGraphGetMatchingHashFromBinaryNode
93 #define GraphGetMatchingHashFromNode fiftyoneDegreesGraphGetMatchingHashFromNode
94 #define GraphTraceCreate fiftyoneDegreesGraphTraceCreate
95 #define GraphTraceFree fiftyoneDegreesGraphTraceFree
96 #define GraphTraceAppend fiftyoneDegreesGraphTraceAppend
97 #define GraphTraceGet fiftyoneDegreesGraphTraceGet
102 #endif
#define MAP_TYPE(t)
Macro used to support synonym implementation.
Definition: fiftyone.h:88
Data structure containing the root nodes for the combination of an evidence item and a component.
Definition: hash.h:275
Singular User-Agent result returned by a Hash process method.
Definition: hash.h:322
Hash record structure to compare to a substring hash.
Definition: graph.h:124
Array of items of type fiftyoneDegreesResultHash used to easily access and track the size of the arra...
Definition: hash.h:361
Data set structure containing all the components used for detections.
Definition: hash.h:291
Dataset header containing information about the dataset.
Definition: hash.h:189
Hash specific configuration structure.
Definition: hash.h:239
Trace node structure used to trace the route taken when evaluating a graph.
Definition: graph.h:140