X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Ftypes.h;h=41f70383c254af13d1f1a8d03fbee4652f00389c;hp=15b82bd74e86a47d7c3e586c434caa34053fbc35;hb=343c801f4e026a36093f654bdf88749d25f75fb4;hpb=e73cc54c775bbc29328a108f65a12a0f7e3c70f7 diff --git a/include/babeltrace/types.h b/include/babeltrace/types.h index 15b82bd7..41f70383 100644 --- a/include/babeltrace/types.h +++ b/include/babeltrace/types.h @@ -383,6 +383,8 @@ void definition_unref(struct definition *definition); struct declaration_integer *integer_declaration_new(size_t len, int byte_order, int signedness, size_t alignment, int base, enum ctf_string_encoding encoding); +uint64_t get_unsigned_int(struct definition *field); +int64_t get_signed_int(struct definition *field); /* * mantissa_len is the length of the number of bytes represented by the mantissa @@ -493,6 +495,7 @@ struct declaration_array * uint64_t array_len(struct definition_array *array); struct definition *array_index(struct definition_array *array, uint64_t i); int array_rw(struct stream_pos *pos, struct definition *definition); +GString *get_char_array(struct definition *field); /* * int_declaration and elem_declaration passed as parameter now belong