X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=include%2Flttng%2Fclear-handle.h;h=4fc5695ed9a77d8caf3355d0b81e47e107f0766a;hb=13d03b1e7e910dc0197275764efb6caeed6642aa;hp=4d952ce3d133ba2442019251d5a14cac4bd2d8d3;hpb=316f62af004a770ebf808166d4c810d12d90b4e5;p=lttng-tools.git diff --git a/include/lttng/clear-handle.h b/include/lttng/clear-handle.h index 4d952ce3d..4fc5695ed 100644 --- a/include/lttng/clear-handle.h +++ b/include/lttng/clear-handle.h @@ -10,6 +10,7 @@ #define LTTNG_CLEAR_HANDLE_H #include +#include #ifdef __cplusplus extern "C" { @@ -36,7 +37,7 @@ enum lttng_clear_handle_status { * Destroy an lttng_clear_handle. * The handle should be discarded after this call. */ -extern void lttng_clear_handle_destroy(struct lttng_clear_handle *handle); +LTTNG_EXPORT extern void lttng_clear_handle_destroy(struct lttng_clear_handle *handle); /* * Wait for a session clear operation to complete. @@ -52,9 +53,8 @@ extern void lttng_clear_handle_destroy(struct lttng_clear_handle *handle); * the clear operation itself succeeded; it indicates that the _wait_ * operation completed successfully. */ -extern enum lttng_clear_handle_status - lttng_clear_handle_wait_for_completion( - struct lttng_clear_handle *handle, int timeout_ms); +LTTNG_EXPORT extern enum lttng_clear_handle_status +lttng_clear_handle_wait_for_completion(struct lttng_clear_handle *handle, int timeout_ms); /* * Get the result of a session clear operation. @@ -71,10 +71,9 @@ extern enum lttng_clear_handle_status * was not waited-on using the handle or if the arguments of the function are * invalid (e.g. NULL). */ -extern enum lttng_clear_handle_status - lttng_clear_handle_get_result( - const struct lttng_clear_handle *handle, - enum lttng_error_code *result); +LTTNG_EXPORT extern enum lttng_clear_handle_status +lttng_clear_handle_get_result(const struct lttng_clear_handle *handle, + enum lttng_error_code *result); #ifdef __cplusplus } #endif