common: compile libconfig as C++
[lttng-tools.git] / src / common / filter.h
index a03b1d9feb02fc38f8665d5cf91f0bd72f8164c0..f5dcdf319f8f6fdfd26a82210e9d8e7c0da46105 100644 (file)
 
 #include <common/sessiond-comm/sessiond-comm.h>
 
+#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 */
This page took 0.024517 seconds and 4 git commands to generate.