lib: compile liblttng-ctl as C++
[lttng-tools.git] / include / lttng / endpoint.h
index 1db5e5108ab8a994fad8a4372e8d4bced4c4708d..e27ac3b015b8b039c451dff6411fef20a2829b17 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef LTTNG_ENDPOINT_H
 #define LTTNG_ENDPOINT_H
 
+#include <lttng/lttng-export.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -24,7 +26,7 @@ extern "C" {
  *   - Otherwise (caller is an unpriviliged user):
  *     - Attempt to connect to the session daemon running as the caller's user.
  */
-extern struct lttng_endpoint *lttng_session_daemon_notification_endpoint;
+LTTNG_EXPORT extern struct lttng_endpoint *lttng_session_daemon_notification_endpoint;
 
 /*
  * Default LTTng session daemon command endpoint singleton.
@@ -38,7 +40,7 @@ extern struct lttng_endpoint *lttng_session_daemon_notification_endpoint;
  *   - Otherwise (caller is an unpriviliged user):
  *     - Attempt to connect to the session daemon running as the caller's user.
  */
-extern struct lttng_endpoint *lttng_session_daemon_command_endpoint;
+LTTNG_EXPORT extern struct lttng_endpoint *lttng_session_daemon_command_endpoint;
 
 #ifdef __cplusplus
 }
This page took 0.024315 seconds and 4 git commands to generate.