X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-text%2Ftypes.h;fp=include%2Fbabeltrace%2Fctf-text%2Ftypes.h;h=9e65435ef38ebd2f4ee104a2144898caf643939d;hp=6a363a47a013ef7826b732737fa925f109940e82;hb=c5e74408f9786219f6b44400dcf2098ab9cc78fb;hpb=2e8b37d41284e54bdb5af4bf5b51c5a616f69597 diff --git a/include/babeltrace/ctf-text/types.h b/include/babeltrace/ctf-text/types.h index 6a363a47..9e65435e 100644 --- a/include/babeltrace/ctf-text/types.h +++ b/include/babeltrace/ctf-text/types.h @@ -48,14 +48,14 @@ struct ctf_text_stream_pos *ctf_text_pos(struct stream_pos *pos) /* * Write only is supported for now. */ -void ctf_text_integer_write(struct stream_pos *pos, struct definition *definition); -void ctf_text_float_write(struct stream_pos *pos, struct definition *definition); -void ctf_text_string_write(struct stream_pos *pos, struct definition *definition); -void ctf_text_enum_write(struct stream_pos *pos, struct definition *definition); -void ctf_text_struct_write(struct stream_pos *pos, struct definition *definition); -void ctf_text_variant_write(struct stream_pos *pos, struct definition *definition); -void ctf_text_array_write(struct stream_pos *pos, struct definition *definition); -void ctf_text_sequence_write(struct stream_pos *pos, struct definition *definition); +int ctf_text_integer_write(struct stream_pos *pos, struct definition *definition); +int ctf_text_float_write(struct stream_pos *pos, struct definition *definition); +int ctf_text_string_write(struct stream_pos *pos, struct definition *definition); +int ctf_text_enum_write(struct stream_pos *pos, struct definition *definition); +int ctf_text_struct_write(struct stream_pos *pos, struct definition *definition); +int ctf_text_variant_write(struct stream_pos *pos, struct definition *definition); +int ctf_text_array_write(struct stream_pos *pos, struct definition *definition); +int ctf_text_sequence_write(struct stream_pos *pos, struct definition *definition); static inline void print_pos_tabs(struct ctf_text_stream_pos *pos)