X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ffilter.h;h=f5dcdf319f8f6fdfd26a82210e9d8e7c0da46105;hb=3afa94aeca5a0daae40fd7b6cc96b7e4c150c7d8;hp=2cbdd14a96764f2ed64f7824ca316f82d6418e02;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a;p=lttng-tools.git diff --git a/src/common/filter.h b/src/common/filter.h index 2cbdd14a9..f5dcdf319 100644 --- a/src/common/filter.h +++ b/src/common/filter.h @@ -10,32 +10,35 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + 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); +#ifdef __cplusplus +} +#endif + #endif /* LTTNG_COMMON_FILTER_H */