X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fendpoint.h;h=e27ac3b015b8b039c451dff6411fef20a2829b17;hp=1db5e5108ab8a994fad8a4372e8d4bced4c4708d;hb=4bd69c5f1161cd065f487da0f4c1aa03a73c47e4;hpb=657d1bf105996bf8f6e13af697fb1112afa61b28 diff --git a/include/lttng/endpoint.h b/include/lttng/endpoint.h index 1db5e5108..e27ac3b01 100644 --- a/include/lttng/endpoint.h +++ b/include/lttng/endpoint.h @@ -8,6 +8,8 @@ #ifndef LTTNG_ENDPOINT_H #define LTTNG_ENDPOINT_H +#include + #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 }