C++ Server-Side SDK
LaunchDarkly SDK
status.h
Go to the documentation of this file.
1 
2 // NOLINTBEGIN modernize-use-using
3 
4 #pragma once
5 
7 #include <stdbool.h>
8 
9 #ifdef __cplusplus
10 extern "C" { // only need to export C interface if
11 // used by C++ source code
12 #endif
13 
14 typedef struct _LDStatus* LDStatus;
15 
23 LD_EXPORT(char const*)
24 LDStatus_Error(LDStatus res);
25 
31 LD_EXPORT(bool)
32 LDStatus_Ok(LDStatus res);
33 
39 LD_EXPORT(void)
40 LDStatus_Free(LDStatus res);
41 
46 LD_EXPORT(LDStatus)
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 // NOLINTEND modernize-use-using
Export macros for C bindings.
LDStatus_Error(LDStatus res)
LDStatus_Free(LDStatus res)
LDStatus_Success(void)
LDStatus_Ok(LDStatus res)