X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Faction%2Fnotify-internal.h;h=a9d50612dbceace92565d08deed4a85ed31902cb;hp=509bd36a91413bdef956ca22ad3f283ed3e96e54;hb=869a3c2d29b8c75cc3b30f76ebd38c9a8b239018;hpb=a58c490f0bff52a73717d31d04d1472629180de2 diff --git a/include/lttng/action/notify-internal.h b/include/lttng/action/notify-internal.h index 509bd36a9..a9d50612d 100644 --- a/include/lttng/action/notify-internal.h +++ b/include/lttng/action/notify-internal.h @@ -1,18 +1,8 @@ /* - * Copyright (C) 2017 - Jérémie Galarneau + * Copyright (C) 2017 Jérémie Galarneau * - * 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_ACTION_NOTIFY_INTERNAL_H @@ -25,4 +15,9 @@ struct lttng_action_notify { struct lttng_action parent; }; +LTTNG_HIDDEN +ssize_t lttng_action_notify_create_from_buffer( + const struct lttng_buffer_view *view, + struct lttng_action **action); + #endif /* LTTNG_ACTION_NOTIFY_INTERNAL_H */