-uint64_t ctf_bitfield_unsigned_read(const unsigned char *ptr,
- unsigned long start, unsigned long len,
- int byte_order);
-int64_t ctf_bitfield_signed_read(const unsigned char *ptr,
- unsigned long start, unsigned long len,
- int byte_order);
-size_t ctf_bitfield_unsigned_write(unsigned char *ptr,
- unsigned long start, unsigned long len,
- int byte_order, uint64_t v);
-size_t ctf_bitfield_signed_write(unsigned char *ptr,
- unsigned long start, unsigned long len,
- int byte_order, 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,
+ const struct type_class_float *dest,
+ double v);
+long double ctf_ldouble_read(struct stream_pos *pos,
+ const struct type_class_float *src);
+void ctf_ldouble_write(struct stream_pos *pos,
+ const struct type_class_float *dest,
+ long double v);
+void ctf_float_copy(struct stream_pos *destp, const struct type_class_float *dest,
+ struct stream_pos *srcp, const struct type_class_float *src);