X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=formats%2Fctf-text%2Ftypes%2Fstruct.c;h=cbfcc7cde2b00ea2a6b6686ad51ada158f56fb33;hb=ecc54f11c258cad6b54d35da83e525d32c032397;hp=8a9344eb01dd765fd3d1b4a07e32f4656141c130;hpb=c462e188f3e7819c7bc74f671038cdbf36e8c3c0;p=babeltrace.git diff --git a/formats/ctf-text/types/struct.c b/formats/ctf-text/types/struct.c index 8a9344eb..cbfcc7cd 100644 --- a/formats/ctf-text/types/struct.c +++ b/formats/ctf-text/types/struct.c @@ -29,13 +29,13 @@ #include #include -int ctf_text_struct_write(struct stream_pos *ppos, struct definition *definition) +int ctf_text_struct_write(struct bt_stream_pos *ppos, struct bt_definition *definition) { - struct declaration *declaration = definition->declaration; + struct bt_declaration *declaration = definition->declaration; struct declaration_struct *struct_declaration = container_of(declaration, struct declaration_struct, p); struct ctf_text_stream_pos *pos = ctf_text_pos(ppos); - uint64_t len = struct_declaration_len(struct_declaration); + uint64_t len = bt_struct_declaration_len(struct_declaration); int field_nr_saved; int ret; @@ -58,7 +58,7 @@ int ctf_text_struct_write(struct stream_pos *ppos, struct definition *definition } field_nr_saved = pos->field_nr; pos->field_nr = 0; - ret = struct_rw(ppos, definition); + ret = bt_struct_rw(ppos, definition); if (!pos->dummy) { pos->depth--; if (pos->depth >= 0 && (pos->print_names || len > 1)) {