X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf%2Ftypes.h;h=40b89847d759ec6bb410e56cd65b5461982804c5;hp=473bbff9df4918e1159faa87e741c34d8fd127c5;hb=a52d7f6a6dfe8c55b65eef0996b848873db39fe7;hpb=bed864a75d2315c344a6e625db66ae9bfbc51e27 diff --git a/include/babeltrace/ctf/types.h b/include/babeltrace/ctf/types.h index 473bbff9..40b89847 100644 --- a/include/babeltrace/ctf/types.h +++ b/include/babeltrace/ctf/types.h @@ -72,6 +72,11 @@ 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);