C Server-Side SDK
LaunchDarkly SDK
|
|
char * LDAllFlagsStateSerializeJSON(struct LDAllFlagsState *flags)
Serializes flag data to JSON.
@ LD_CLIENT_SIDE_ONLY
Include only flags marked for use with the client-side SDK. By default, all flags are included.
Definition: flag_state.h:68
A custom c89 boolean type.
@ LD_ALLFLAGS_DEFAULT
Definition: flag_state.h:61
struct LDAllFlagsState * LDAllFlagsState(struct LDClient *const client, const struct LDUser *const user, unsigned int options)
AllFlagsState returns an object that encapsulates the state of all feature flags for a given user....
void LDAllFlagsStateFree(struct LDAllFlagsState *flags)
Frees memory associated with LDAllFlagsState.
struct LDDetails * LDAllFlagsStateGetDetails(struct LDAllFlagsState *flags, const char *key)
Returns evaluation details for an individual feature flag at the time the state was recorded.
#define LD_EXPORT(x)
Used to ensure only intended symbols are exported in the binaries.
Definition: export.h:10
Definition: variations.h:91
LDBoolean LDAllFlagsStateValid(struct LDAllFlagsState *flags)
Check if a call to LDAllFlagsState succeeded.
struct LDJSON * LDAllFlagsStateToValuesMap(struct LDAllFlagsState *flags)
Returns a JSON map of flag keys to flag values.
@ LD_INCLUDE_REASON
Include evaluation reasons in the state object. By default, they are not.
Definition: flag_state.h:63
@ LD_DETAILS_ONLY_FOR_TRACKED_FLAGS
Include detailed flag metadata only for flags with event tracking or debugging turned on....
Definition: flag_state.h:66
LDAllFlagsStateOption
Options for use in LDAllFlagsState.
Definition: flag_state.h:59
struct LDJSON * LDAllFlagsStateGetValue(struct LDAllFlagsState *flags, const char *key)
Returns the JSON value of an individual feature flag at the time the state was recorded.
Public. Configuration of exported symbols.