void fiftyoneDegreesResultsDeviceDetectionInit(fiftyoneDegreesResultsDeviceDetection *results, fiftyoneDegreesDataSetDeviceDetection *dataSet, uint32_t overridesCapacity)
Initialise a set of results by setting the data set they are associated with.
void fiftyoneDegreesResultsUserAgentFree(fiftyoneDegreesResultUserAgent *result)
Free the memory allocated in a single result,.
void fiftyoneDegreesResultsUserAgentInit(const fiftyoneDegreesConfigDeviceDetection *config, fiftyoneDegreesResultUserAgent *result)
Initialise a single result using the configuration provided.
void fiftyoneDegreesResultsDeviceDetectionFree(fiftyoneDegreesResultsDeviceDetection *results)
Free any extra data within the results.
void fiftyoneDegreesResultsUserAgentReset(const fiftyoneDegreesConfigDeviceDetection *config, fiftyoneDegreesResultUserAgent *result)
Reset the matched and target User-Agents in the result.
Device detection configuration structure containing device detection specific configuration options,...
Definition config-dd.h:52
Device detection data set structure which contains the 'must have's for all device detection data set...
Definition dataset-dd.h:52
Singular User-Agent result returned by a device detection process method.
Definition results-dd.h:49
int uniqueHttpHeaderIndex
Index in the headers collection of the data set to the HTTP header fieldi.e.
Definition results-dd.h:50
size_t matchedUserAgentLength
Number of characters in the matched User-Agent.
Definition results-dd.h:60
size_t targetUserAgentLength
Number of characters in the target User-Agent.
Definition results-dd.h:64
char * matchedUserAgent
Pointer to the matched User-Agent if requested by setting the updateMatchedUserAgent config option to...
Definition results-dd.h:52
const char * targetUserAgent
Pointer to the string containing the User-Agent for processing.
Definition results-dd.h:62
Base results structure which any processing results should extend.
Definition results.h:158
Device detection specific results structure which any device detection processing results should exte...
Definition results-dd.h:73
char * bufferTransform
Working memory used to transform evidence.
Definition results-dd.h:84
int bufferTransformLength
Number of bytes in bufferTransform.
Definition results-dd.h:85
fiftyoneDegreesResultsBase b
Base results, which hold the override values.
Definition results-dd.h:74
int bufferPseudoLength
Number of bytes in bufferPseudo, being the maxMatchedUserAgentLength configuration value plus one for...
Definition results-dd.h:80
char * bufferPseudo
Working memory used for pseudo headers, allocated when the results are created and not grown during d...
Definition results-dd.h:76
