2 * Copyright (C) 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
4 * SPDX-License-Identifier: GPL-2.0-only
8 #ifndef LTTNG_COMMON_FILTER_H
9 #define LTTNG_COMMON_FILTER_H
11 #include <common/sessiond-comm/sessiond-comm.h>
17 struct bytecode_symbol_iterator
;
20 * Create an iterator on a bytecode's symbols. The iterator points to the
21 * first element after creation.
23 struct bytecode_symbol_iterator
*bytecode_symbol_iterator_create(
24 struct lttng_bytecode
*bytecode
);
27 * Advance iterator of one element.
29 * Returns 0 if a next element exists or a negative value at the end.
31 int bytecode_symbol_iterator_next(struct bytecode_symbol_iterator
*it
);
33 int bytecode_symbol_iterator_get_type(struct bytecode_symbol_iterator
*it
);
35 const char *bytecode_symbol_iterator_get_name(
36 struct bytecode_symbol_iterator
*it
);
38 void bytecode_symbol_iterator_destroy(struct bytecode_symbol_iterator
*it
);
44 #endif /* LTTNG_COMMON_FILTER_H */
This page took 0.035518 seconds and 4 git commands to generate.