struct declaration *declaration,
struct declaration_scope *scope);
struct declaration *declaration,
struct declaration_scope *scope);
* that a named variant can be declared without specifying its target
* "choice" tag field immediately.
*/
* that a named variant can be declared without specifying its target
* "choice" tag field immediately.
*/
struct declaration_struct *struct_declaration,
struct declaration_scope *scope);
struct declaration_struct *
struct declaration_struct *struct_declaration,
struct declaration_scope *scope);
struct declaration_struct *
struct declaration_untagged_variant *untagged_variant_declaration,
struct declaration_scope *scope);
struct declaration_untagged_variant *untagged_variant_declaration,
struct declaration_scope *scope);
struct declaration_enum *enum_declaration,
struct declaration_scope *scope);
struct declaration_enum *
struct declaration_enum *enum_declaration,
struct declaration_scope *scope);
struct declaration_enum *
- new_declaration_scope(struct declaration_scope *parent_scope);
-void free_declaration_scope(struct declaration_scope *scope);
+ bt_new_declaration_scope(struct declaration_scope *parent_scope);
+void bt_free_declaration_scope(struct declaration_scope *scope);
GArray *lookup_path, /* array of GQuark */
struct definition_scope *scope);
GArray *lookup_path, /* array of GQuark */
struct definition_scope *scope);
struct definition *definition,
struct definition_scope *scope);
struct definition_scope *
struct definition *definition,
struct definition_scope *scope);
struct definition_scope *
void bt_definition_ref(struct definition *definition);
void bt_definition_unref(struct definition *definition);
void bt_definition_ref(struct definition *definition);
void bt_definition_unref(struct definition *definition);
int signedness, size_t alignment,
int base, enum ctf_string_encoding encoding,
struct ctf_clock *clock);
int signedness, size_t alignment,
int base, enum ctf_string_encoding encoding,
struct ctf_clock *clock);
* mantissa_len is the length of the number of bytes represented by the mantissa
* (e.g. result of DBL_MANT_DIG). It includes the leading 1.
*/
* mantissa_len is the length of the number of bytes represented by the mantissa
* (e.g. result of DBL_MANT_DIG). It includes the leading 1.
*/
bt_enum_declaration_new(struct declaration_integer *integer_declaration);
struct declaration_string *
bt_enum_declaration_new(struct declaration_integer *integer_declaration);
struct declaration_string *
- string_declaration_new(enum ctf_string_encoding encoding);
-char *get_string(const struct definition *field);
-enum ctf_string_encoding get_string_encoding(const struct definition *field);
+ bt_string_declaration_new(enum ctf_string_encoding encoding);
+char *bt_get_string(const struct definition *field);
+enum ctf_string_encoding bt_get_string_encoding(const struct definition *field);
GQuark field_name);
/*
* field returned only valid as long as the field structure is not appended to.
*/
struct declaration_field *
GQuark field_name);
/*
* field returned only valid as long as the field structure is not appended to.
*/
struct declaration_field *
-int struct_rw(struct stream_pos *pos, struct definition *definition);
-uint64_t struct_declaration_len(struct declaration_struct *struct_declaration);
+int bt_struct_rw(struct stream_pos *pos, struct definition *definition);
+uint64_t bt_struct_declaration_len(struct declaration_struct *struct_declaration);
/*
* The tag enumeration is validated to ensure that it contains only mappings
* from numeric values to a single tag. Overlapping tag value ranges are
* therefore forbidden.
*/
/*
* The tag enumeration is validated to ensure that it contains only mappings
* from numeric values to a single tag. Overlapping tag value ranges are
* therefore forbidden.
*/
-struct definition *variant_get_current_field(struct definition_variant *variant);
-int variant_rw(struct stream_pos *pos, struct definition *definition);
+struct definition *bt_variant_get_current_field(struct definition_variant *variant);
+int bt_variant_rw(struct stream_pos *pos, struct definition *definition);
struct declaration *elem_declaration,
struct declaration_scope *parent_scope);
struct declaration *elem_declaration,
struct declaration_scope *parent_scope);
-uint64_t sequence_len(struct definition_sequence *sequence);
-struct definition *sequence_index(struct definition_sequence *sequence, uint64_t i);
-int sequence_rw(struct stream_pos *pos, struct definition *definition);
+uint64_t bt_sequence_len(struct definition_sequence *sequence);
+struct definition *bt_sequence_index(struct definition_sequence *sequence, uint64_t i);
+int bt_sequence_rw(struct stream_pos *pos, struct definition *definition);