X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ffilter.h;h=f5dcdf319f8f6fdfd26a82210e9d8e7c0da46105;hb=6dca8ba7dec3b31acb7b43f5e4431676acf4e664;hp=a03b1d9feb02fc38f8665d5cf91f0bd72f8164c0;hpb=2b00d46244cab86f1186a7b00cdc660f24a26f72;p=lttng-tools.git diff --git a/src/common/filter.h b/src/common/filter.h index a03b1d9fe..f5dcdf319 100644 --- a/src/common/filter.h +++ b/src/common/filter.h @@ -10,13 +10,16 @@ #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_bytecode *bytecode); @@ -25,17 +28,17 @@ struct bytecode_symbol_iterator *bytecode_symbol_iterator_create( * * 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 */