X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Faction%2Fnotify-internal.h;h=8588ac29554829ba022d2d23d2e8ebdd097cbe88;hb=4878de5c7deb512bbdac4fdfc498907efa06fb7c;hp=509bd36a91413bdef956ca22ad3f283ed3e96e54;hpb=a58c490f0bff52a73717d31d04d1472629180de2;p=lttng-tools.git diff --git a/include/lttng/action/notify-internal.h b/include/lttng/action/notify-internal.h index 509bd36a9..8588ac295 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 @@ -23,6 +13,11 @@ struct lttng_action_notify { struct lttng_action parent; + struct lttng_rate_policy *policy; }; +ssize_t lttng_action_notify_create_from_payload( + struct lttng_payload_view *view, + struct lttng_action **action); + #endif /* LTTNG_ACTION_NOTIFY_INTERNAL_H */