#include <babeltrace/iterator.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct bt_ctf_iter;
struct bt_ctf_event;
/*
* bt_ctf_iter_read_event: Read the iterator's current event data.
*
- * @iter: trace collection iterator (input)
+ * @iter: trace collection iterator (input). Should NOT be NULL.
*
* Return current event on success, NULL on end of trace.
*/
struct bt_ctf_event *bt_ctf_iter_read_event(struct bt_ctf_iter *iter);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _BABELTRACE_CTF_ITERATOR_H */