X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=formats%2Fctf%2Fctf.c;h=48c62c02f6d3dff1be4db96f968e5d345d437c05;hb=334c0a83321f9140dec6436ed0c5cbb1af8ec895;hp=d128b9ac654c4acf4c409610c2eae97bf53996f4;hpb=fc93b2bdc2ced1d46fefb91fe79391afded8e504;p=babeltrace.git diff --git a/formats/ctf/ctf.c b/formats/ctf/ctf.c index d128b9ac..48c62c02 100644 --- a/formats/ctf/ctf.c +++ b/formats/ctf/ctf.c @@ -30,16 +30,21 @@ static const struct format ctf_format = { .int_read = ctf_int_read, .uint_write = ctf_uint_write, .int_write = ctf_int_write, - .bitfield_unsigned_read = ctf_bitfield_unsigned_read, - .bitfield_signed_read = ctf_bitfield_signed_read, - .bitfield_unsigned_write = ctf_bitfield_unsigned_write, - .bitfield_signed_write = ctf_bitfield_signed_write, + .double_read = ctf_double_read, + .double_write = ctf_double_write, .float_copy = ctf_float_copy, .string_copy = ctf_string_copy, - .enum_uint_to_quark = ctf_enum_uint_to_quark, - .enum_int_to_quark = ctf_enum_int_to_quark, - .enum_quark_to_uint = ctf_enum_quark_to_uint, - .enum_quark_to_int = ctf_enum_quark_to_int, + .string_read = ctf_string_read, + .string_write = ctf_string_write, + .string_free_temp = ctf_string_free_temp, + .enum_read = ctf_enum_read, + .enum_write = ctf_enum_write, + .struct_begin = ctf_struct_begin, + .struct_end = ctf_struct_end, + .array_begin = ctf_array_begin, + .array_end = ctf_array_end, + .sequence_begin = ctf_sequence_begin, + .sequence_end = ctf_sequence_end, }; void ctf_init(void) @@ -50,3 +55,5 @@ void ctf_init(void) ret = bt_register_format(&ctf_format); assert(!ret); } + +/* TODO: finalize */