Add structures
[babeltrace.git] / include / babeltrace / format.h
index 539197299a37811ef02f5db6484f3065fc528331..bc2bdb067c0b75b1041738d2317ccd1a4bf7e03c 100644 (file)
@@ -40,17 +40,6 @@ struct format {
                          const struct type_class_integer *int_class,
                          int64_t v);
 
-       uint64_t (*bitfield_unsigned_read)(struct stream_pos *pos,
-                       const struct type_class_bitfield *bitfield_class);
-       int64_t (*bitfield_signed_read)(struct stream_pos *pos,
-                       const struct type_class_bitfield *bitfield_class);
-       void (*bitfield_unsigned_write)(struct stream_pos *pos,
-                       const struct type_class_bitfield *bitfield_class,
-                       uint64_t v);
-       void (*bitfield_signed_write)(struct stream_pos *pos,
-                       const struct type_class_bitfield *bitfield_class,
-                       int64_t v);
-
        void (*float_copy)(struct stream_pos *dest,
                           struct stream_pos *src,
                           const struct type_class_float *src);
@@ -73,7 +62,10 @@ struct format {
        void (*enum_write)(struct stream_pos *pos,
                           const struct type_class_enum *dest,
                           GQuark q);
-
+       void (*struct_begin)(struct stream_pos *pos,
+                            const struct type_class_struct *struct_class);
+       void (*struct_end)(struct stream_pos *pos,
+                          const struct type_class_struct *struct_class);
 };
 
 struct format *bt_lookup_format(GQuark qname);
This page took 0.023706 seconds and 4 git commands to generate.