mcl_connectivity_common.h
Go to the documentation of this file.
1 
11 #ifndef MCL_CONNECTIVITY_COMMON_H_
12 #define MCL_CONNECTIVITY_COMMON_H_
13 
14 #include "mcl_core/mcl_assert.h"
15 
16 #ifdef __cplusplus
17 extern "C"
18 {
19 #endif
20 
21 #ifndef MCL_CONNECTIVITY_EXPORT
22 #if MCL_STATICLIB
23  #define MCL_CONNECTIVITY_EXPORT
24 #elif defined(WIN32) || defined(WIN64)
25  #if MCL_CONNECTIVITY_BUILD
26  #define MCL_CONNECTIVITY_EXPORT __declspec(dllexport)
27  #else
28  #define MCL_CONNECTIVITY_EXPORT __declspec(dllimport)
29  #endif
30 #else
31  #define MCL_CONNECTIVITY_EXPORT
32 #endif
33 #endif
34 
39 {
45 
47 
48 // This function converts the given return code to its string value for connectivity module.
49 #define MCL_CONNECTIVITY_CODE_TO_STRING(code) (code >= MCL_CORE_RETURN_CODE_END) ? mcl_connectivity_return_code_strings[code - MCL_CORE_RETURN_CODE_END] : MCL_CORE_CODE_TO_STRING(code)
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif //MCL_CONNECTIVITY_COMMON_H_
File can not be opened.
MCL_CONNECTIVITY_EXPORT const char * mcl_connectivity_return_code_strings[MCL_CONNECTIVITY_RETURN_CODE_END-MCL_CORE_RETURN_CODE_END]
#define MCL_CONNECTIVITY_EXPORT
The store trying to be exchanged has no data inside.
E_MCL_CONNECTIVITY_RETURN_CODE
MCL_CORE_RETURN_CODE_END
Item exceeds max http payload request.