#include <launchdarkly/bindings/c/export.h>
#include <stdbool.h>
Go to the source code of this file.
|
typedef struct _LDStatus * | LDStatus |
|
◆ LDStatus_Error()
LDStatus_Error |
( |
LDStatus |
res | ) |
|
Returns a string representing the error stored in an LDStatus, or NULL if the result indicates success.
- Parameters
-
- Returns
- String or NULL. The returned string is valid only while the LDStatus is alive.
◆ LDStatus_Free()
LDStatus_Free |
( |
LDStatus |
res | ) |
|
Frees an LDStatus. It is only necessary to call if LDStatus_Ok returns false.
- Parameters
-
◆ LDStatus_Ok()
LDStatus_Ok |
( |
LDStatus |
res | ) |
|
Checks if a result indicates success.
- Parameters
-
- Returns
- True if the result indicates success.
◆ LDStatus_Success()
LDStatus_Success |
( |
void |
| ) |
|
Returns a status representing success.
- Returns
- Successful status.