29 #ifndef VMOD_FIFTYONEDEGREES_INTERFACE_H 30 #define VMOD_FIFTYONEDEGREES_INTERFACE_H 35 #ifndef FIFTYONEDEGREES_PROPERTY_NOT_FOUND 36 #define FIFTYONEDEGREES_PROPERTY_NOT_FOUND "N/A" 39 #include "device-detection-cxx/src/hash/fiftyone.h" 40 #include "device-detection-cxx/src/hash/hash.h" 41 #include "vmod_fiftyonedegrees_extra.h" 43 #define CONFIG_OPTION(t) \ 44 typedef struct vmodfod_config_##t##_t{ \ 56 typedef struct vmodfod_global_t {
57 ResourceManager *manager;
59 vmodfod_config_int drift;
61 vmodfod_config_int difference;
63 vmodfod_config_int maxConcurrency;
64 vmodfod_config_bool allowUnmatched;
65 vmodfod_config_bool usePerformanceGraph;
66 vmodfod_config_bool usePredictiveGraph;
67 const char *performanceProfile;
68 const char *requiredProperties;
69 const char *propertyDelimiter;
76 #define VMODFOD_DEFAULTGLOBAL \ 95 #define VMODFOD_GET_BOOL(s) strcmp(s, "YES") == 0 ? true : false 98 bool RESULTS_HASH_GET_HAS_VALUES(
100 int requiredPropertyIndex,
101 Exception *exception);
103 ResultsHash *OBTAIN_RESULTS_FROM_AVAILABLE_HEADERS(
104 const struct vrt_ctx *ctx,
105 Exception *exception);