Fix : only one iterator per context
[babeltrace.git] / include / babeltrace / context-internal.h
index 475b2d894ecd7488a6ff572584802d92ad431990..95d629b86a18e73b5eb97a796e4c226b20d19fda 100644 (file)
@@ -23,6 +23,8 @@
  * included in all copies or substantial portions of the Software.
  */
 
+#include <glib.h>
+
 struct trace_collection;
 struct GHashTable;
 
@@ -40,6 +42,7 @@ struct bt_context {
        GHashTable *trace_handles;
        int refcount;
        int last_trace_handle_id;
+       struct bt_iter *current_iterator;
 };
 
 #endif /* _BABELTRACE_CONTEXT_INTERNAL_H */
This page took 0.023319 seconds and 4 git commands to generate.