X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ffilter.h;h=305434bf6e0d1a5de3e626d6e6ed114ec403ac69;hb=48a4000561343808724f7cb5fa8c131877489ccd;hp=4a3a3ae52ec126c96b40709f6c162ddb53ef7715;hpb=4af1498e8d85fdbfda0bdf4fa89dd9697cc8ad79;p=lttng-tools.git diff --git a/src/common/filter.h b/src/common/filter.h index 4a3a3ae52..305434bf6 100644 --- a/src/common/filter.h +++ b/src/common/filter.h @@ -1,18 +1,8 @@ /* - * Copyright 2016 - Jérémie Galarneau + * Copyright (C) 2016 Jérémie Galarneau * - * 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. */ #ifndef LTTNG_COMMON_FILTER_H @@ -26,26 +16,21 @@ struct bytecode_symbol_iterator; * Create an iterator on a bytecode's symbols. The iterator points to the * first element after creation. */ -LTTNG_HIDDEN struct bytecode_symbol_iterator *bytecode_symbol_iterator_create( - struct lttng_filter_bytecode *bytecode); + struct lttng_bytecode *bytecode); /* * Advance iterator of one element. * * Returns 0 if a next element exists or a negative value at the end. */ -LTTNG_HIDDEN int bytecode_symbol_iterator_next(struct bytecode_symbol_iterator *it); -LTTNG_HIDDEN int bytecode_symbol_iterator_get_type(struct bytecode_symbol_iterator *it); -LTTNG_HIDDEN const char *bytecode_symbol_iterator_get_name( struct bytecode_symbol_iterator *it); -LTTNG_HIDDEN void bytecode_symbol_iterator_destroy(struct bytecode_symbol_iterator *it); #endif /* LTTNG_COMMON_FILTER_H */