C++ Server-Side SDK
LaunchDarkly SDK
Loading...
Searching...
No Matches
all_flags_state.h
Go to the documentation of this file.
1
2// NOLINTBEGIN modernize-use-using
3
4#pragma once
5
8
9#ifdef __cplusplus
10extern "C" { // only need to export C interface if
11// used by C++ source code
12#endif
13
14typedef struct _LDAllFlagsState* LDAllFlagsState;
15
21LD_EXPORT(void)
22LDAllFlagsState_Free(LDAllFlagsState state);
23
34LD_EXPORT(bool)
35LDAllFlagsState_Valid(LDAllFlagsState state);
36
46LD_EXPORT(char*)
47LDAllFlagsState_SerializeJSON(LDAllFlagsState state);
48
73LD_EXPORT(LDValue)
74LDAllFlagsState_Value(LDAllFlagsState state, char const* flag_key);
75
90LD_EXPORT(LDValue)
91LDAllFlagsState_Map(LDAllFlagsState state);
92
130
131#ifdef __cplusplus
132}
133#endif
134
135// NOLINTEND modernize-use-using
LDAllFlagsState_Free(LDAllFlagsState state)
LDAllFlagsState_Valid(LDAllFlagsState state)
LDAllFlagsState_Value(LDAllFlagsState state, char const *flag_key)
Definition all_flags_state.cpp:43
LDAllFlagsState_Map(LDAllFlagsState state)
Definition all_flags_state.cpp:61
LDAllFlagsState_SerializeJSON(LDAllFlagsState state)
Definition all_flags_state.cpp:33
LDAllFlagsState_Options
Definition all_flags_state.h:106
@ LD_ALLFLAGSSTATE_CLIENT_SIDE_ONLY
Definition all_flags_state.h:128
@ LD_ALLFLAGSSTATE_INCLUDE_REASONS
Definition all_flags_state.h:115
@ LD_ALLFLAGSSTATE_DETAILS_ONLY_FOR_TRACKED_FLAGS
Definition all_flags_state.h:123
@ LD_ALLFLAGSSTATE_DEFAULT
Definition all_flags_state.h:110
Export macros for C bindings.
struct _LDValue * LDValue
Definition value.h:64