lib: compile liblttng-ctl as C++
[lttng-tools.git] / include / lttng / domain.h
index ba62e0ec9487668674ea0fac51f8d83f6a1b1993..192c04bf239458c0621ae3ca9ae1dd9bfe8267f7 100644 (file)
@@ -13,6 +13,7 @@ extern "C" {
 #endif
 
 #include <lttng/constant.h>
+#include <lttng/lttng-export.h>
 
 /*
  * Domain types: the different possible tracers.
@@ -58,7 +59,7 @@ struct lttng_domain {
  * Return the size (number of entries) of the "lttng_domain" array. Caller
  * must free domains. On error, a negative LTTng error code is returned.
  */
-extern int lttng_list_domains(const char *session_name,
+LTTNG_EXPORT extern int lttng_list_domains(const char *session_name,
                struct lttng_domain **domains);
 
 #ifdef __cplusplus
This page took 0.023166 seconds and 4 git commands to generate.