\r\n

51Degrees Device Detection C/C++  4.2Newer Version 4.3

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

pseudoheader.h

1 #ifndef FIFTYONE_DEGREES_PSEUDO_HEADER_H_INCLUDED
2 #define FIFTYONE_DEGREES_PSEUDO_HEADER_H_INCLUDED
3 
4 #include "dataset.h"
5 #include "evidence.h"
6 #include "headers.h"
7 
8 
9 #ifdef __cplusplus
10 #define EXTERNAL extern "C"
11 #else
12 #define EXTERNAL
13 #endif
14 
15 #define FIFTYONE_DEGREES_PSEUDO_HEADER_SEP '\x1F'
41 EXTERNAL void fiftyoneDegreesPseudoHeadersAddEvidence(
43  fiftyoneDegreesHeaders* acceptedHeaders,
44  size_t bufferSize,
45  const fiftyoneDegreesEvidencePrefix* orderOfPrecedence,
46  size_t precedenceSize,
47  fiftyoneDegreesException* exception);
48 
58 EXTERNAL void fiftyoneDegreesPseudoHeadersRemoveEvidence(
60  size_t bufferSize);
61 
62 #endif
fiftyoneDegreesEvidencePrefix
Evidence prefixes used to determine the category a piece of evidence belongs to.
Definition: evidence.h:138
Array of items of type fiftyoneDegreesHeader used to easily access and track the size of the array.
Definition: headers.h:135
Array of items of type fiftyoneDegreesEvidenceKeyValuePair used to easily access and track the size o...
Definition: evidence.h:177
Structure used to represent a 51Degrees exception and passed into methods that might generate excepti...
Definition: exceptions.h:116