Add structures
[babeltrace.git] / include / babeltrace / ctf / types.h
index 473bbff9df4918e1159faa87e741c34d8fd127c5..75b8bd3e28932f3f1d355a498d6bac82378ac457 100644 (file)
@@ -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 */
This page took 0.023242 seconds and 4 git commands to generate.