14 typedef struct _LDEvalDetail* LDEvalDetail;
15 typedef struct _LDEvalReason* LDEvalReason;
17 enum LDEvalReason_Kind {
19 LD_EVALREASON_OFF = 0,
21 LD_EVALREASON_FALLTHROUGH = 1,
23 LD_EVALREASON_TARGET_MATCH = 2,
25 LD_EVALREASON_RULE_MATCH = 3,
28 LD_EVALREASON_PREREQUISITE_FAILED = 4,
31 LD_EVALREASON_ERROR = 5
34 enum LDEvalReason_ErrorKind {
36 LD_EVALREASON_ERROR_CLIENT_NOT_READY = 0,
39 LD_EVALREASON_ERROR_USER_NOT_SPECIFIED = 1,
41 LD_EVALREASON_ERROR_FLAG_NOT_FOUND = 2,
44 LD_EVALREASON_ERROR_WRONG_TYPE = 3,
46 LD_EVALREASON_ERROR_MALFORMED_FLAG = 4,
48 LD_EVALREASON_ERROR_EXCEPTION = 5,
83 LD_EXPORT(
enum LDEvalReason_Kind)
96 enum LDEvalReason_ErrorKind* out_error_kind);
LDEvalDetail_Free(LDEvalDetail detail)
Definition: evaluation_detail.cpp:17
LDEvalDetail_Reason(LDEvalDetail detail, LDEvalReason *out_reason)
Definition: evaluation_detail.cpp:30
LDEvalReason_ErrorKind(LDEvalReason reason, enum LDEvalReason_ErrorKind *out_error_kind)
Definition: evaluation_detail.cpp:45
LDEvalReason_InExperiment(LDEvalReason reason)
Definition: evaluation_detail.cpp:54
LDEvalReason_Kind(LDEvalReason reason)
Definition: evaluation_detail.cpp:38
LDEvalDetail_VariationIndex(LDEvalDetail detail, size_t *out_variation_index)
Definition: evaluation_detail.cpp:22
Export macros for C bindings.