X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fhandle.h;h=efc889f1d62ba89b2b6785113d562b6e1d9e6415;hp=10ec82c62f604c6d7bef5a2fdc3fa9502b5e8589;hb=4bd69c5f1161cd065f487da0f4c1aa03a73c47e4;hpb=657d1bf105996bf8f6e13af697fb1112afa61b28 diff --git a/include/lttng/handle.h b/include/lttng/handle.h index 10ec82c62..efc889f1d 100644 --- a/include/lttng/handle.h +++ b/include/lttng/handle.h @@ -9,6 +9,7 @@ #define LTTNG_HANDLE_H #include +#include #ifdef __cplusplus extern "C" { @@ -40,7 +41,7 @@ struct lttng_handle { * Return a newly allocated handle that should be freed using * lttng_destroy_handle. On error, NULL is returned. */ -extern struct lttng_handle *lttng_create_handle(const char *session_name, +LTTNG_EXPORT extern struct lttng_handle *lttng_create_handle(const char *session_name, struct lttng_domain *domain); /* @@ -48,7 +49,7 @@ extern struct lttng_handle *lttng_create_handle(const char *session_name, * * It free the given pointer making it unusable. */ -extern void lttng_destroy_handle(struct lttng_handle *handle); +LTTNG_EXPORT extern void lttng_destroy_handle(struct lttng_handle *handle); #ifdef __cplusplus