Export the babeltrace API in babeltrace.h
[babeltrace.git] / include / babeltrace / ctf-text / types.h
index 0670b3d6dffdf182a09c4963f309a9e72213833b..400e62c689d0ee3319cb706a73f64f54e15436a1 100644 (file)
@@ -24,7 +24,7 @@
 #include <stdint.h>
 #include <unistd.h>
 #include <glib.h>
-#include <babeltrace/babeltrace.h>
+#include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/types.h>
 #include <babeltrace/format.h>
 
@@ -39,6 +39,7 @@ struct ctf_text_stream_pos {
        int dummy;              /* disable output */
        int print_names;        /* print field names */
        int field_nr;
+       GString *string;        /* Current string */
 };
 
 static inline
@@ -68,4 +69,9 @@ void print_pos_tabs(struct ctf_text_stream_pos *pos)
                fprintf(pos->fp, "\t");
 }
 
+/*
+ * Check if the field must be printed.
+ */
+int print_field(struct definition *definition);
+
 #endif /* _BABELTRACE_CTF_TEXT_TYPES_H */
This page took 0.024114 seconds and 4 git commands to generate.