projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: C++ support to API header files
[babeltrace.git]
/
include
/
babeltrace
/
ctf
/
iterator.h
diff --git
a/include/babeltrace/ctf/iterator.h
b/include/babeltrace/ctf/iterator.h
index 7aeb032c81f23e506edcb9392b7574f85e0152f5..9370583a58df3e6042b92f74932305234ba0bc51 100644
(file)
--- a/
include/babeltrace/ctf/iterator.h
+++ b/
include/babeltrace/ctf/iterator.h
@@
-25,8
+25,12
@@
#include <babeltrace/iterator.h>
#include <babeltrace/iterator.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct bt_ctf_iter;
struct bt_ctf_iter;
-struct
ctf_event_definition
;
+struct
bt_ctf_event
;
/*
* bt_ctf_iter_create - Allocate a CTF trace collection iterator.
/*
* bt_ctf_iter_create - Allocate a CTF trace collection iterator.
@@
-64,10
+68,14
@@
void bt_ctf_iter_destroy(struct bt_ctf_iter *iter);
/*
* bt_ctf_iter_read_event: Read the iterator's current event data.
*
/*
* 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.
*/
*
* Return current event on success, NULL on end of trace.
*/
-struct ctf_event_definition *bt_ctf_iter_read_event(struct bt_ctf_iter *iter);
+struct bt_ctf_event *bt_ctf_iter_read_event(struct bt_ctf_iter *iter);
+
+#ifdef __cplusplus
+}
+#endif
#endif /* _BABELTRACE_CTF_ITERATOR_H */
#endif /* _BABELTRACE_CTF_ITERATOR_H */
This page took
0.023663 seconds
and
4
git commands to generate.