X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Findex.h;h=4364f12ffdb096179e6e736dd821388c4c4bb028;hp=8466e91a468b501cc7bc14ac2a2aaeac0f1e87a2;hb=86eff0042bf0b9e6277b281c4f3a680d997790d2;hpb=c35f9726a22f1d93e14589688d830efccda196f3 diff --git a/src/bin/lttng-relayd/index.h b/src/bin/lttng-relayd/index.h index 8466e91a4..4364f12ff 100644 --- a/src/bin/lttng-relayd/index.h +++ b/src/bin/lttng-relayd/index.h @@ -2,22 +2,12 @@ #define _RELAY_INDEX_H /* - * Copyright (C) 2013 - Julien Desfossez - * David Goulet - * 2015 - Mathieu Desnoyers + * Copyright (C) 2013 Julien Desfossez + * Copyright (C) 2013 David Goulet + * Copyright (C) 2015 Mathieu Desnoyers * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License, version 2 only, as - * published by the Free Software Foundation. + * SPDX-License-Identifier: GPL-2.0-only * - * This program 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 General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include @@ -26,8 +16,6 @@ #include #include -#include "stream-fd.h" - struct relay_stream; struct relay_connection; struct lttcomm_relayd_index; @@ -71,7 +59,7 @@ int relay_index_set_file(struct relay_index *index, struct lttng_index_file *index_file, uint64_t data_offset); int relay_index_set_data(struct relay_index *index, - const struct ctf_packet_index *data); + const struct ctf_packet_index *data); int relay_index_try_flush(struct relay_index *index); void relay_index_close_all(struct relay_stream *stream);