37
37
#include <babeltrace/format.h>
40
* Inherit from both struct stream_pos and struct trace_descriptor.
40
* Inherit from both struct bt_stream_pos and struct bt_trace_descriptor.
42
42
struct ctf_text_stream_pos {
43
struct stream_pos parent;
44
struct trace_descriptor trace_descriptor;
43
struct bt_stream_pos parent;
44
struct bt_trace_descriptor trace_descriptor;
45
45
FILE *fp; /* File pointer. NULL if unset. */
47
47
int dummy; /* disable output */
62
62
* Write only is supported for now.
64
int ctf_text_integer_write(struct stream_pos *pos, struct definition *definition);
65
int ctf_text_float_write(struct stream_pos *pos, struct definition *definition);
66
int ctf_text_string_write(struct stream_pos *pos, struct definition *definition);
67
int ctf_text_enum_write(struct stream_pos *pos, struct definition *definition);
68
int ctf_text_struct_write(struct stream_pos *pos, struct definition *definition);
69
int ctf_text_variant_write(struct stream_pos *pos, struct definition *definition);
70
int ctf_text_array_write(struct stream_pos *pos, struct definition *definition);
71
int ctf_text_sequence_write(struct stream_pos *pos, struct definition *definition);
65
int ctf_text_integer_write(struct bt_stream_pos *pos, struct bt_definition *definition);
67
int ctf_text_float_write(struct bt_stream_pos *pos, struct bt_definition *definition);
69
int ctf_text_string_write(struct bt_stream_pos *pos, struct bt_definition *definition);
71
int ctf_text_enum_write(struct bt_stream_pos *pos, struct bt_definition *definition);
73
int ctf_text_struct_write(struct bt_stream_pos *pos, struct bt_definition *definition);
75
int ctf_text_variant_write(struct bt_stream_pos *pos, struct bt_definition *definition);
77
int ctf_text_array_write(struct bt_stream_pos *pos, struct bt_definition *definition);
79
int ctf_text_sequence_write(struct bt_stream_pos *pos, struct bt_definition *definition);
74
82
void print_pos_tabs(struct ctf_text_stream_pos *pos)