X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bindings%2Fpython%2Fpython-complements.h;h=0e38e6b2ac4ce2574dbb538bbe7f03b0e693da65;hb=a66b40cc29767fda25495999cfde5df2713d9de9;hp=a85f3e52c578b6c9961c4913da9f2a8fb52c5794;hpb=cebae8c3f3b5dba2af88242c8f17bf44fe63c715;p=babeltrace.git diff --git a/bindings/python/python-complements.h b/bindings/python/python-complements.h index a85f3e52..0e38e6b2 100644 --- a/bindings/python/python-complements.h +++ b/bindings/python/python-complements.h @@ -26,6 +26,7 @@ #include #include #include +#include /* File */ FILE *_bt_file_open(char *file_path, char *mode); @@ -60,3 +61,13 @@ struct definition_array *_bt_python_get_array_from_def( struct bt_definition *field); struct definition_sequence *_bt_python_get_sequence_from_def( struct bt_definition *field); +struct bt_declaration *_bt_python_get_array_element_declaration( + struct bt_declaration *field); +struct bt_declaration *_bt_python_get_sequence_element_declaration( + struct bt_declaration *field); +const char *_bt_python_get_array_string(struct bt_definition *field); +const char *_bt_python_get_sequence_string(struct bt_definition *field); + +/* ctf writer */ +int _bt_python_field_integer_get_signedness(const struct bt_ctf_field *field); +enum ctf_type_id _bt_python_get_field_type(const struct bt_ctf_field *field);