• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef _ICD_TEST_LOG_H_
2 #define _ICD_TEST_LOG_H_
3 
4 #if defined(_WIN32) || defined(__CYGWIN__)
5     #define DllExport __declspec(dllexport)
6 #else
7     #ifndef __has_attribute
8         #define __has_attribute(x) 0  // Compatibility with non-clang compilers.
9     #endif
10     #if (defined(__GNUC__) && (__GNUC__ >= 4)) ||\
11         (defined(__clang__) && __has_attribute(visibility))
12         #define DllExport __attribute__((visibility("default")))
13     #else
14         #define DllExport
15     #endif
16 #endif
17 
18 DllExport int test_icd_initialize_app_log(void);
19 DllExport void test_icd_app_log(const char *format, ...);
20 DllExport void test_icd_close_app_log(void);
21 DllExport char *test_icd_get_stub_log(void);
22 
23 DllExport int test_icd_initialize_stub_log(void);
24 DllExport void test_icd_stub_log(const char *format, ...);
25 DllExport void test_icd_close_stub_log(void);
26 DllExport char *test_icd_get_app_log(void);
27 
28 #endif /* _ICD_TEST_LOG_H_ */
29