#ifndef LTTNG_ERROR_H
#define LTTNG_ERROR_H
+#include <lttng/lttng-export.h>
+
#ifdef __cplusplus
extern "C" {
#endif
LTTNG_ERR_EVENT_NOTIFIER_ERROR_ACCOUNTING = 167, /* Error initializing event notifier error accounting. */
LTTNG_ERR_EVENT_NOTIFIER_ERROR_ACCOUNTING_FULL = 168, /* Error event notifier error accounting full. */
LTTNG_ERR_INVALID_ERROR_QUERY_TARGET = 169, /* Invalid error query target. */
+ LTTNG_ERR_BUFFER_FLUSH_FAILED = 170, /* Buffer flush failed */
/* MUST be last element of the manually-assigned section of the enum */
LTTNG_ERR_NR,
*
* Parameter MUST be a negative value or else you'll get a generic message.
*/
-extern const char *lttng_strerror(int code);
+LTTNG_EXPORT extern const char *lttng_strerror(int code);
#ifdef __cplusplus
}