X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fchannel.h;h=f3241ed30847af1886801ea728060a51ef2b2813;hp=e20ed4f4fce981cff071482817ca5108677df026;hb=fa3f8be960428e090b9576e3c67f0db33ed369d5;hpb=cf0bcb51ea857687a353d2851e572dba6cc63cb0 diff --git a/include/lttng/channel.h b/include/lttng/channel.h index e20ed4f4f..f3241ed30 100644 --- a/include/lttng/channel.h +++ b/include/lttng/channel.h @@ -1,18 +1,8 @@ /* - * Copyright (C) 2014 - David Goulet + * Copyright (C) 2014 David Goulet * - * 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_CHANNEL_H @@ -138,6 +128,12 @@ extern int lttng_channel_get_monitor_timer_interval(struct lttng_channel *chan, extern int lttng_channel_set_monitor_timer_interval(struct lttng_channel *chan, uint64_t monitor_timer_interval); +extern int lttng_channel_get_blocking_timeout(struct lttng_channel *chan, + int64_t *blocking_timeout); + +extern int lttng_channel_set_blocking_timeout(struct lttng_channel *chan, + int64_t blocking_timeout); + #ifdef __cplusplus } #endif