scope-exit: Clarify scope_exit noexcept requirement
[lttng-tools.git] / include / lttng / clear.h
index 34ace3d9a17fa502e5e0604a553ae686f11ef378..8961e166fb0d122c82c00a92291f0306c9795814 100644 (file)
@@ -10,6 +10,7 @@
 #define LTTNG_CLEAR_H
 
 #include <lttng/lttng-error.h>
+#include <lttng/lttng-export.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -53,8 +54,11 @@ struct lttng_clear_handle;
  *    LTTNG_ERR_CLEAR_RELAY_DISALLOWED
  *    LTTNG_ERR_CLEAR_NOT_AVAILABLE_RELAY
  *    LTTNG_ERR_CLEAR_FAIL_CONSUMER
-*/
-extern enum lttng_error_code lttng_clear_session(const char *session_name,
-               struct lttng_clear_handle **handle);
+ */
+LTTNG_EXPORT extern enum lttng_error_code lttng_clear_session(const char *session_name,
+                                                             struct lttng_clear_handle **handle);
+#ifdef __cplusplus
+}
+#endif
 
 #endif /* LTTNG_CLEAR_H */
This page took 0.023482 seconds and 4 git commands to generate.