X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fdomain.h;fp=include%2Flttng%2Fdomain.h;h=192c04bf239458c0621ae3ca9ae1dd9bfe8267f7;hp=ba62e0ec9487668674ea0fac51f8d83f6a1b1993;hb=4bd69c5f1161cd065f487da0f4c1aa03a73c47e4;hpb=657d1bf105996bf8f6e13af697fb1112afa61b28 diff --git a/include/lttng/domain.h b/include/lttng/domain.h index ba62e0ec9..192c04bf2 100644 --- a/include/lttng/domain.h +++ b/include/lttng/domain.h @@ -13,6 +13,7 @@ extern "C" { #endif #include +#include /* * 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