X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf%2Ftypes.h;h=75b8bd3e28932f3f1d355a498d6bac82378ac457;hp=473bbff9df4918e1159faa87e741c34d8fd127c5;hb=11796b9629d5a870163e4edd67e457576553aaef;hpb=bed864a75d2315c344a6e625db66ae9bfbc51e27 diff --git a/include/babeltrace/ctf/types.h b/include/babeltrace/ctf/types.h index 473bbff9..75b8bd3e 100644 --- a/include/babeltrace/ctf/types.h +++ b/include/babeltrace/ctf/types.h @@ -46,17 +46,6 @@ void ctf_int_write(struct stream_pos *pos, const struct type_class_integer *int_class, int64_t v); -uint64_t ctf_bitfield_unsigned_read(struct stream_pos *pos, - const struct type_class_bitfield *bitfield_class); -int64_t ctf_bitfield_signed_read(struct stream_pos *pos, - const struct type_class_bitfield *bitfield_class); -void ctf_bitfield_unsigned_write(struct stream_pos *pos, - const struct type_class_bitfield *bitfield_class, - uint64_t v); -void ctf_bitfield_signed_write(struct stream_pos *pos, - const struct type_class_bitfield *bitfield_class, - int64_t v); - double ctf_double_read(struct stream_pos *pos, const struct type_class_float *src); void ctf_double_write(struct stream_pos *pos, @@ -72,11 +61,20 @@ void ctf_float_copy(struct stream_pos *destp, const struct type_class_float *des void ctf_string_copy(struct stream_pos *dest, struct stream_pos *src, const struct type_class_string *string_class); +void ctf_string_read(unsigned char **dest, struct stream_pos *src, + const struct type_class_string *string_class); +void ctf_string_write(struct stream_pos *dest, const unsigned char *src, + const struct type_class_string *string_class); +void ctf_string_free_temp(unsigned char *string); GQuark ctf_enum_read(struct stream_pos *pos, const struct type_class_enum *src); void ctf_enum_write(struct stream_pos *pos, const struct type_class_enum *dest, GQuark q); +void ctf_struct_begin(struct stream_pos *pos, + const struct type_class_struct *struct_class); +void ctf_struct_end(struct stream_pos *pos, + const struct type_class_struct *struct_class); #endif /* _BABELTRACE_CTF_TYPES_H */