X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fclear.h;h=8961e166fb0d122c82c00a92291f0306c9795814;hb=c91ccadee5bfbc94a95540e17c879ce976caf6a2;hp=68c0cd48f1a9f79a9ed7a71523672607370afb3f;hpb=f2c1f0d46e0ed64f57a4f3bc3a5d6c5b6d743b77;p=lttng-tools.git diff --git a/include/lttng/clear.h b/include/lttng/clear.h index 68c0cd48f..8961e166f 100644 --- a/include/lttng/clear.h +++ b/include/lttng/clear.h @@ -1,25 +1,16 @@ /* - * Copyright (C) 2019 - Jérémie Galarneau - * Copyright (C) 2019 - Mathieu Desnoyers + * Copyright (C) 2019 Jérémie Galarneau + * Copyright (C) 2019 Mathieu Desnoyers * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License, version 2.1 only, - * as published by the Free Software Foundation. + * SPDX-License-Identifier: LGPL-2.1-only * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this library; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef LTTNG_CLEAR_H #define LTTNG_CLEAR_H #include +#include #ifdef __cplusplus extern "C" { @@ -63,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 */