X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ffilter.h;h=305434bf6e0d1a5de3e626d6e6ed114ec403ac69;hp=a03b1d9feb02fc38f8665d5cf91f0bd72f8164c0;hb=HEAD;hpb=2b00d46244cab86f1186a7b00cdc660f24a26f72 diff --git a/src/common/filter.h b/src/common/filter.h deleted file mode 100644 index a03b1d9fe..000000000 --- a/src/common/filter.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2016 Jérémie Galarneau - * - * SPDX-License-Identifier: GPL-2.0-only - * - */ - -#ifndef LTTNG_COMMON_FILTER_H -#define LTTNG_COMMON_FILTER_H - -#include - -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_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 */