# This file was automatically generated by SWIG (https://www.swig.org).
# Version 4.4.1
#
# Do not make changes to this file unless you know what you are doing - modify
# the SWIG interface file instead.

from sys import version_info as _swig_python_version_info
# Import the low-level C/C++ module
if getattr(globals().get("__spec__"), "parent", None) or __package__ or "." in __name__:
    from . import _native_bt
else:
    import _native_bt

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)


def _swig_setattr_nondynamic_instance_variable(set):
    def set_instance_attr(self, name, value):
        if name == "this":
            set(self, name, value)
        elif name == "thisown":
            self.this.own(value)
        elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add instance attributes to %s" % self)
    return set_instance_attr


def _swig_setattr_nondynamic_class_variable(set):
    def set_class_attr(cls, name, value):
        if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
            set(cls, name, value)
        else:
            raise AttributeError("You cannot add class attributes to %s" % cls)
    return set_class_attr


def _swig_add_metaclass(metaclass):
    """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
    def wrapper(cls):
        return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
    return wrapper


class _SwigNonDynamicMeta(type):
    """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
    __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)



def bt2_init_from_bt2():
    return _native_bt.bt2_init_from_bt2()

def bt2_exit_handler():
    return _native_bt.bt2_exit_handler()
BT_TRUE = _native_bt.BT_TRUE
BT_FALSE = _native_bt.BT_FALSE
PROPERTY_AVAILABILITY_AVAILABLE = _native_bt.PROPERTY_AVAILABILITY_AVAILABLE
PROPERTY_AVAILABILITY_NOT_AVAILABLE = _native_bt.PROPERTY_AVAILABILITY_NOT_AVAILABLE
__BT_FUNC_STATUS_OVERFLOW_ERROR = _native_bt.__BT_FUNC_STATUS_OVERFLOW_ERROR
__BT_FUNC_STATUS_MEMORY_ERROR = _native_bt.__BT_FUNC_STATUS_MEMORY_ERROR
__BT_FUNC_STATUS_USER_ERROR = _native_bt.__BT_FUNC_STATUS_USER_ERROR
__BT_FUNC_STATUS_ERROR = _native_bt.__BT_FUNC_STATUS_ERROR
__BT_FUNC_STATUS_OK = _native_bt.__BT_FUNC_STATUS_OK
__BT_FUNC_STATUS_END = _native_bt.__BT_FUNC_STATUS_END
__BT_FUNC_STATUS_NOT_FOUND = _native_bt.__BT_FUNC_STATUS_NOT_FOUND
__BT_FUNC_STATUS_INTERRUPTED = _native_bt.__BT_FUNC_STATUS_INTERRUPTED
__BT_FUNC_STATUS_NO_MATCH = _native_bt.__BT_FUNC_STATUS_NO_MATCH
__BT_FUNC_STATUS_AGAIN = _native_bt.__BT_FUNC_STATUS_AGAIN
__BT_FUNC_STATUS_UNKNOWN_OBJECT = _native_bt.__BT_FUNC_STATUS_UNKNOWN_OBJECT

def bt2_auto_discover_source_components(inputs, plugin_set):
    return _native_bt.bt2_auto_discover_source_components(inputs, plugin_set)

def clock_class_create(self_component):
    return _native_bt.clock_class_create(self_component)

def clock_class_set_frequency(clock_class, frequency):
    return _native_bt.clock_class_set_frequency(clock_class, frequency)

def clock_class_get_frequency(clock_class):
    return _native_bt.clock_class_get_frequency(clock_class)

def clock_class_set_offset(clock_class, offset_seconds, offset_cycles):
    return _native_bt.clock_class_set_offset(clock_class, offset_seconds, offset_cycles)

def clock_class_get_offset(clock_class):
    return _native_bt.clock_class_get_offset(clock_class)

def clock_class_set_precision(clock_class, precision):
    return _native_bt.clock_class_set_precision(clock_class, precision)

def clock_class_get_precision(clock_class):
    return _native_bt.clock_class_get_precision(clock_class)

def clock_class_get_opt_precision(clock_class):
    return _native_bt.clock_class_get_opt_precision(clock_class)

def clock_class_set_accuracy(clock_class, accuracy):
    return _native_bt.clock_class_set_accuracy(clock_class, accuracy)

def clock_class_get_accuracy(clock_class):
    return _native_bt.clock_class_get_accuracy(clock_class)

def clock_class_set_origin_is_unix_epoch(clock_class, origin_is_unix_epoch):
    return _native_bt.clock_class_set_origin_is_unix_epoch(clock_class, origin_is_unix_epoch)

def clock_class_set_origin_unknown(clock_class):
    return _native_bt.clock_class_set_origin_unknown(clock_class)

def clock_class_set_origin_unix_epoch(clock_class):
    return _native_bt.clock_class_set_origin_unix_epoch(clock_class)
CLOCK_CLASS_SET_ORIGIN_STATUS_OK = _native_bt.CLOCK_CLASS_SET_ORIGIN_STATUS_OK
CLOCK_CLASS_SET_ORIGIN_STATUS_MEMORY_ERROR = _native_bt.CLOCK_CLASS_SET_ORIGIN_STATUS_MEMORY_ERROR

def clock_class_set_origin(clock_class, ns, name, uid):
    return _native_bt.clock_class_set_origin(clock_class, ns, name, uid)

def clock_class_origin_is_known(clock_class):
    return _native_bt.clock_class_origin_is_known(clock_class)

def clock_class_origin_is_unix_epoch(clock_class):
    return _native_bt.clock_class_origin_is_unix_epoch(clock_class)

def clock_class_get_origin_namespace(clock_class):
    return _native_bt.clock_class_get_origin_namespace(clock_class)

def clock_class_get_origin_name(clock_class):
    return _native_bt.clock_class_get_origin_name(clock_class)

def clock_class_get_origin_uid(clock_class):
    return _native_bt.clock_class_get_origin_uid(clock_class)
CLOCK_CLASS_SET_NAMESPACE_STATUS_OK = _native_bt.CLOCK_CLASS_SET_NAMESPACE_STATUS_OK
CLOCK_CLASS_SET_NAMESPACE_STATUS_MEMORY_ERROR = _native_bt.CLOCK_CLASS_SET_NAMESPACE_STATUS_MEMORY_ERROR

def clock_class_set_namespace(clock_class, ns):
    return _native_bt.clock_class_set_namespace(clock_class, ns)

def clock_class_get_namespace(clock_class):
    return _native_bt.clock_class_get_namespace(clock_class)
CLOCK_CLASS_SET_NAME_STATUS_OK = _native_bt.CLOCK_CLASS_SET_NAME_STATUS_OK
CLOCK_CLASS_SET_NAME_STATUS_MEMORY_ERROR = _native_bt.CLOCK_CLASS_SET_NAME_STATUS_MEMORY_ERROR

def clock_class_set_name(clock_class, name):
    return _native_bt.clock_class_set_name(clock_class, name)

def clock_class_get_name(clock_class):
    return _native_bt.clock_class_get_name(clock_class)
CLOCK_CLASS_SET_UID_STATUS_OK = _native_bt.CLOCK_CLASS_SET_UID_STATUS_OK
CLOCK_CLASS_SET_UID_STATUS_MEMORY_ERROR = _native_bt.CLOCK_CLASS_SET_UID_STATUS_MEMORY_ERROR

def clock_class_set_uid(clock_class, uid):
    return _native_bt.clock_class_set_uid(clock_class, uid)

def clock_class_get_uid(clock_class):
    return _native_bt.clock_class_get_uid(clock_class)

def clock_class_has_same_identity(clock_class_a, clock_class_b):
    return _native_bt.clock_class_has_same_identity(clock_class_a, clock_class_b)
CLOCK_CLASS_SET_DESCRIPTION_STATUS_OK = _native_bt.CLOCK_CLASS_SET_DESCRIPTION_STATUS_OK
CLOCK_CLASS_SET_DESCRIPTION_STATUS_MEMORY_ERROR = _native_bt.CLOCK_CLASS_SET_DESCRIPTION_STATUS_MEMORY_ERROR

def clock_class_set_uuid(clock_class, uuid):
    return _native_bt.clock_class_set_uuid(clock_class, uuid)

def clock_class_get_uuid(clock_class):
    return _native_bt.clock_class_get_uuid(clock_class)

def clock_class_set_description(clock_class, description):
    return _native_bt.clock_class_set_description(clock_class, description)

def clock_class_get_description(clock_class):
    return _native_bt.clock_class_get_description(clock_class)

def clock_class_set_user_attributes(clock_class, user_attributes):
    return _native_bt.clock_class_set_user_attributes(clock_class, user_attributes)

def clock_class_borrow_user_attributes(clock_class):
    return _native_bt.clock_class_borrow_user_attributes(clock_class)

def clock_class_borrow_user_attributes_const(clock_class):
    return _native_bt.clock_class_borrow_user_attributes_const(clock_class)

def clock_class_get_graph_mip_version(clock_class):
    return _native_bt.clock_class_get_graph_mip_version(clock_class)
CLOCK_CLASS_CYCLES_TO_NS_FROM_ORIGIN_STATUS_OK = _native_bt.CLOCK_CLASS_CYCLES_TO_NS_FROM_ORIGIN_STATUS_OK
CLOCK_CLASS_CYCLES_TO_NS_FROM_ORIGIN_STATUS_OVERFLOW_ERROR = _native_bt.CLOCK_CLASS_CYCLES_TO_NS_FROM_ORIGIN_STATUS_OVERFLOW_ERROR

def clock_class_cycles_to_ns_from_origin(clock_class, value):
    return _native_bt.clock_class_cycles_to_ns_from_origin(clock_class, value)

def clock_class_get_ref(clock_class):
    return _native_bt.clock_class_get_ref(clock_class)

def clock_class_put_ref(clock_class):
    return _native_bt.clock_class_put_ref(clock_class)

def clock_snapshot_borrow_clock_class_const(clock_snapshot):
    return _native_bt.clock_snapshot_borrow_clock_class_const(clock_snapshot)

def clock_snapshot_get_value(clock_snapshot):
    return _native_bt.clock_snapshot_get_value(clock_snapshot)
CLOCK_SNAPSHOT_GET_NS_FROM_ORIGIN_STATUS_OK = _native_bt.CLOCK_SNAPSHOT_GET_NS_FROM_ORIGIN_STATUS_OK
CLOCK_SNAPSHOT_GET_NS_FROM_ORIGIN_STATUS_OVERFLOW_ERROR = _native_bt.CLOCK_SNAPSHOT_GET_NS_FROM_ORIGIN_STATUS_OVERFLOW_ERROR

def clock_snapshot_get_ns_from_origin(clock_snapshot):
    return _native_bt.clock_snapshot_get_ns_from_origin(clock_snapshot)

def component_get_class_type(component):
    return _native_bt.component_get_class_type(component)

def component_is_source(component):
    return _native_bt.component_is_source(component)

def component_is_filter(component):
    return _native_bt.component_is_filter(component)

def component_is_sink(component):
    return _native_bt.component_is_sink(component)

def component_borrow_class_const(component):
    return _native_bt.component_borrow_class_const(component)

def component_get_name(component):
    return _native_bt.component_get_name(component)

def component_get_logging_level(component):
    return _native_bt.component_get_logging_level(component)

def component_get_ref(component):
    return _native_bt.component_get_ref(component)

def component_put_ref(component):
    return _native_bt.component_put_ref(component)

def component_source_borrow_class_const(component):
    return _native_bt.component_source_borrow_class_const(component)

def component_source_as_component_const(component):
    return _native_bt.component_source_as_component_const(component)

def component_source_get_output_port_count(component):
    return _native_bt.component_source_get_output_port_count(component)

def component_source_borrow_output_port_by_index_const(component, index):
    return _native_bt.component_source_borrow_output_port_by_index_const(component, index)

def component_source_borrow_output_port_by_name_const(component, name):
    return _native_bt.component_source_borrow_output_port_by_name_const(component, name)

def component_source_get_ref(component):
    return _native_bt.component_source_get_ref(component)

def component_source_put_ref(component):
    return _native_bt.component_source_put_ref(component)

def component_filter_borrow_class_const(component):
    return _native_bt.component_filter_borrow_class_const(component)

def component_filter_as_component_const(component):
    return _native_bt.component_filter_as_component_const(component)

def component_filter_get_input_port_count(component):
    return _native_bt.component_filter_get_input_port_count(component)

def component_filter_borrow_input_port_by_index_const(component, index):
    return _native_bt.component_filter_borrow_input_port_by_index_const(component, index)

def component_filter_borrow_input_port_by_name_const(component, name):
    return _native_bt.component_filter_borrow_input_port_by_name_const(component, name)

def component_filter_get_output_port_count(component):
    return _native_bt.component_filter_get_output_port_count(component)

def component_filter_borrow_output_port_by_index_const(component, index):
    return _native_bt.component_filter_borrow_output_port_by_index_const(component, index)

def component_filter_borrow_output_port_by_name_const(component, name):
    return _native_bt.component_filter_borrow_output_port_by_name_const(component, name)

def component_filter_get_ref(component):
    return _native_bt.component_filter_get_ref(component)

def component_filter_put_ref(component):
    return _native_bt.component_filter_put_ref(component)

def component_sink_borrow_class_const(component):
    return _native_bt.component_sink_borrow_class_const(component)

def component_sink_as_component_const(component):
    return _native_bt.component_sink_as_component_const(component)

def component_sink_get_input_port_count(component):
    return _native_bt.component_sink_get_input_port_count(component)

def component_sink_borrow_input_port_by_index_const(component, index):
    return _native_bt.component_sink_borrow_input_port_by_index_const(component, index)

def component_sink_borrow_input_port_by_name_const(component, name):
    return _native_bt.component_sink_borrow_input_port_by_name_const(component, name)

def component_sink_get_ref(component):
    return _native_bt.component_sink_get_ref(component)

def component_sink_put_ref(component):
    return _native_bt.component_sink_put_ref(component)
SELF_COMPONENT_ADD_PORT_STATUS_OK = _native_bt.SELF_COMPONENT_ADD_PORT_STATUS_OK
SELF_COMPONENT_ADD_PORT_STATUS_MEMORY_ERROR = _native_bt.SELF_COMPONENT_ADD_PORT_STATUS_MEMORY_ERROR
SELF_COMPONENT_ADD_PORT_STATUS_ERROR = _native_bt.SELF_COMPONENT_ADD_PORT_STATUS_ERROR

def self_component_source_add_output_port(self_component, name, user_data):
    return _native_bt.self_component_source_add_output_port(self_component, name, user_data)

def self_component_filter_add_input_port(self_component, name, user_data):
    return _native_bt.self_component_filter_add_input_port(self_component, name, user_data)

def self_component_filter_add_output_port(self_component, name, user_data):
    return _native_bt.self_component_filter_add_output_port(self_component, name, user_data)

def self_component_sink_add_input_port(self_component, name, user_data):
    return _native_bt.self_component_sink_add_input_port(self_component, name, user_data)

def self_component_source_borrow_output_port_by_index(self_component, index):
    return _native_bt.self_component_source_borrow_output_port_by_index(self_component, index)

def self_component_filter_borrow_input_port_by_index(self_component, index):
    return _native_bt.self_component_filter_borrow_input_port_by_index(self_component, index)

def self_component_filter_borrow_output_port_by_index(self_component, index):
    return _native_bt.self_component_filter_borrow_output_port_by_index(self_component, index)

def self_component_sink_borrow_input_port_by_index(self_component, index):
    return _native_bt.self_component_sink_borrow_input_port_by_index(self_component, index)

def self_component_source_borrow_output_port_by_name(self_component, name):
    return _native_bt.self_component_source_borrow_output_port_by_name(self_component, name)

def self_component_filter_borrow_input_port_by_name(self_component, name):
    return _native_bt.self_component_filter_borrow_input_port_by_name(self_component, name)

def self_component_filter_borrow_output_port_by_name(self_component, name):
    return _native_bt.self_component_filter_borrow_output_port_by_name(self_component, name)

def self_component_sink_borrow_input_port_by_name(self_component, name):
    return _native_bt.self_component_sink_borrow_input_port_by_name(self_component, name)

def self_component_set_data(self_component, user_data):
    return _native_bt.self_component_set_data(self_component, user_data)

def self_component_get_data(self_component):
    return _native_bt.self_component_get_data(self_component)

def self_component_get_graph_mip_version(self_component):
    return _native_bt.self_component_get_graph_mip_version(self_component)

def self_component_sink_is_interrupted(self_component):
    return _native_bt.self_component_sink_is_interrupted(self_component)

def self_component_as_component(self_component):
    return _native_bt.self_component_as_component(self_component)

def self_component_source_as_component_source(self_component):
    return _native_bt.self_component_source_as_component_source(self_component)

def self_component_filter_as_component_filter(self_component):
    return _native_bt.self_component_filter_as_component_filter(self_component)

def self_component_sink_as_component_sink(self_component):
    return _native_bt.self_component_sink_as_component_sink(self_component)

def self_component_source_as_self_component(self_component):
    return _native_bt.self_component_source_as_self_component(self_component)

def self_component_filter_as_self_component(self_component):
    return _native_bt.self_component_filter_as_self_component(self_component)

def self_component_sink_as_self_component(self_component):
    return _native_bt.self_component_sink_as_self_component(self_component)
COMPONENT_CLASS_TYPE_SOURCE = _native_bt.COMPONENT_CLASS_TYPE_SOURCE
COMPONENT_CLASS_TYPE_FILTER = _native_bt.COMPONENT_CLASS_TYPE_FILTER
COMPONENT_CLASS_TYPE_SINK = _native_bt.COMPONENT_CLASS_TYPE_SINK

def component_class_get_type(component_class):
    return _native_bt.component_class_get_type(component_class)

def component_class_is_source(component_class):
    return _native_bt.component_class_is_source(component_class)

def component_class_is_filter(component_class):
    return _native_bt.component_class_is_filter(component_class)

def component_class_is_sink(component_class):
    return _native_bt.component_class_is_sink(component_class)

def component_class_get_name(component_class):
    return _native_bt.component_class_get_name(component_class)

def component_class_get_description(component_class):
    return _native_bt.component_class_get_description(component_class)

def component_class_get_help(component_class):
    return _native_bt.component_class_get_help(component_class)

def component_class_get_ref(component_class):
    return _native_bt.component_class_get_ref(component_class)

def component_class_put_ref(component_class):
    return _native_bt.component_class_put_ref(component_class)

def component_class_source_as_component_class_const(component_class):
    return _native_bt.component_class_source_as_component_class_const(component_class)

def component_class_source_get_ref(component_class):
    return _native_bt.component_class_source_get_ref(component_class)

def component_class_source_put_ref(component_class):
    return _native_bt.component_class_source_put_ref(component_class)

def component_class_filter_as_component_class_const(component_class):
    return _native_bt.component_class_filter_as_component_class_const(component_class)

def component_class_filter_get_ref(component_class):
    return _native_bt.component_class_filter_get_ref(component_class)

def component_class_filter_put_ref(component_class):
    return _native_bt.component_class_filter_put_ref(component_class)

def component_class_sink_as_component_class_const(component_class):
    return _native_bt.component_class_sink_as_component_class_const(component_class)

def component_class_sink_get_ref(component_class):
    return _native_bt.component_class_sink_get_ref(component_class)

def component_class_sink_put_ref(component_class):
    return _native_bt.component_class_sink_put_ref(component_class)
COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_OK = _native_bt.COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_OK
COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_END = _native_bt.COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_END
COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_AGAIN = _native_bt.COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_AGAIN
COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_MEMORY_ERROR = _native_bt.COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_MEMORY_ERROR
COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_ERROR = _native_bt.COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_ERROR
COMPONENT_CLASS_GET_SUPPORTED_MIP_VERSIONS_METHOD_STATUS_OK = _native_bt.COMPONENT_CLASS_GET_SUPPORTED_MIP_VERSIONS_METHOD_STATUS_OK
COMPONENT_CLASS_GET_SUPPORTED_MIP_VERSIONS_METHOD_STATUS_MEMORY_ERROR = _native_bt.COMPONENT_CLASS_GET_SUPPORTED_MIP_VERSIONS_METHOD_STATUS_MEMORY_ERROR
COMPONENT_CLASS_GET_SUPPORTED_MIP_VERSIONS_METHOD_STATUS_ERROR = _native_bt.COMPONENT_CLASS_GET_SUPPORTED_MIP_VERSIONS_METHOD_STATUS_ERROR
COMPONENT_CLASS_SINK_GRAPH_IS_CONFIGURED_METHOD_STATUS_OK = _native_bt.COMPONENT_CLASS_SINK_GRAPH_IS_CONFIGURED_METHOD_STATUS_OK
COMPONENT_CLASS_SINK_GRAPH_IS_CONFIGURED_METHOD_STATUS_MEMORY_ERROR = _native_bt.COMPONENT_CLASS_SINK_GRAPH_IS_CONFIGURED_METHOD_STATUS_MEMORY_ERROR
COMPONENT_CLASS_SINK_GRAPH_IS_CONFIGURED_METHOD_STATUS_ERROR = _native_bt.COMPONENT_CLASS_SINK_GRAPH_IS_CONFIGURED_METHOD_STATUS_ERROR
COMPONENT_CLASS_INITIALIZE_METHOD_STATUS_OK = _native_bt.COMPONENT_CLASS_INITIALIZE_METHOD_STATUS_OK
COMPONENT_CLASS_INITIALIZE_METHOD_STATUS_MEMORY_ERROR = _native_bt.COMPONENT_CLASS_INITIALIZE_METHOD_STATUS_MEMORY_ERROR
COMPONENT_CLASS_INITIALIZE_METHOD_STATUS_ERROR = _native_bt.COMPONENT_CLASS_INITIALIZE_METHOD_STATUS_ERROR
COMPONENT_CLASS_PORT_CONNECTED_METHOD_STATUS_OK = _native_bt.COMPONENT_CLASS_PORT_CONNECTED_METHOD_STATUS_OK
COMPONENT_CLASS_PORT_CONNECTED_METHOD_STATUS_MEMORY_ERROR = _native_bt.COMPONENT_CLASS_PORT_CONNECTED_METHOD_STATUS_MEMORY_ERROR
COMPONENT_CLASS_PORT_CONNECTED_METHOD_STATUS_ERROR = _native_bt.COMPONENT_CLASS_PORT_CONNECTED_METHOD_STATUS_ERROR
COMPONENT_CLASS_QUERY_METHOD_STATUS_OK = _native_bt.COMPONENT_CLASS_QUERY_METHOD_STATUS_OK
COMPONENT_CLASS_QUERY_METHOD_STATUS_UNKNOWN_OBJECT = _native_bt.COMPONENT_CLASS_QUERY_METHOD_STATUS_UNKNOWN_OBJECT
COMPONENT_CLASS_QUERY_METHOD_STATUS_AGAIN = _native_bt.COMPONENT_CLASS_QUERY_METHOD_STATUS_AGAIN
COMPONENT_CLASS_QUERY_METHOD_STATUS_MEMORY_ERROR = _native_bt.COMPONENT_CLASS_QUERY_METHOD_STATUS_MEMORY_ERROR
COMPONENT_CLASS_QUERY_METHOD_STATUS_ERROR = _native_bt.COMPONENT_CLASS_QUERY_METHOD_STATUS_ERROR

def component_class_source_create(name, message_iterator_class):
    return _native_bt.component_class_source_create(name, message_iterator_class)

def component_class_filter_create(name, message_iterator_class):
    return _native_bt.component_class_filter_create(name, message_iterator_class)

def component_class_sink_create(name, consume_method):
    return _native_bt.component_class_sink_create(name, consume_method)
COMPONENT_CLASS_SET_DESCRIPTION_STATUS_OK = _native_bt.COMPONENT_CLASS_SET_DESCRIPTION_STATUS_OK
COMPONENT_CLASS_SET_DESCRIPTION_STATUS_MEMORY_ERROR = _native_bt.COMPONENT_CLASS_SET_DESCRIPTION_STATUS_MEMORY_ERROR

def component_class_set_description(component_class, description):
    return _native_bt.component_class_set_description(component_class, description)
COMPONENT_CLASS_SET_HELP_STATUS_OK = _native_bt.COMPONENT_CLASS_SET_HELP_STATUS_OK
COMPONENT_CLASS_SET_HELP_STATUS_MEMORY_ERROR = _native_bt.COMPONENT_CLASS_SET_HELP_STATUS_MEMORY_ERROR

def component_class_set_help(component_class, help_text):
    return _native_bt.component_class_set_help(component_class, help_text)
COMPONENT_CLASS_SET_METHOD_STATUS_OK = _native_bt.COMPONENT_CLASS_SET_METHOD_STATUS_OK

def component_class_source_set_finalize_method(component_class, method):
    return _native_bt.component_class_source_set_finalize_method(component_class, method)

def component_class_filter_set_finalize_method(component_class, method):
    return _native_bt.component_class_filter_set_finalize_method(component_class, method)

def component_class_sink_set_finalize_method(component_class, method):
    return _native_bt.component_class_sink_set_finalize_method(component_class, method)

def component_class_source_set_get_supported_mip_versions_method(component_class, method):
    return _native_bt.component_class_source_set_get_supported_mip_versions_method(component_class, method)

def component_class_filter_set_get_supported_mip_versions_method(component_class, method):
    return _native_bt.component_class_filter_set_get_supported_mip_versions_method(component_class, method)

def component_class_sink_set_get_supported_mip_versions_method(component_class, method):
    return _native_bt.component_class_sink_set_get_supported_mip_versions_method(component_class, method)

def component_class_sink_set_graph_is_configured_method(component_class, method):
    return _native_bt.component_class_sink_set_graph_is_configured_method(component_class, method)

def component_class_source_set_initialize_method(component_class, method):
    return _native_bt.component_class_source_set_initialize_method(component_class, method)

def component_class_filter_set_initialize_method(component_class, method):
    return _native_bt.component_class_filter_set_initialize_method(component_class, method)

def component_class_sink_set_initialize_method(component_class, method):
    return _native_bt.component_class_sink_set_initialize_method(component_class, method)

def component_class_source_set_output_port_connected_method(component_class, method):
    return _native_bt.component_class_source_set_output_port_connected_method(component_class, method)

def component_class_filter_set_input_port_connected_method(component_class, method):
    return _native_bt.component_class_filter_set_input_port_connected_method(component_class, method)

def component_class_filter_set_output_port_connected_method(component_class, method):
    return _native_bt.component_class_filter_set_output_port_connected_method(component_class, method)

def component_class_sink_set_input_port_connected_method(component_class, method):
    return _native_bt.component_class_sink_set_input_port_connected_method(component_class, method)

def component_class_source_set_query_method(component_class, method):
    return _native_bt.component_class_source_set_query_method(component_class, method)

def component_class_filter_set_query_method(component_class, method):
    return _native_bt.component_class_filter_set_query_method(component_class, method)

def component_class_sink_set_query_method(component_class, method):
    return _native_bt.component_class_sink_set_query_method(component_class, method)

def component_class_source_as_component_class(component_class):
    return _native_bt.component_class_source_as_component_class(component_class)

def component_class_filter_as_component_class(component_class):
    return _native_bt.component_class_filter_as_component_class(component_class)

def component_class_sink_as_component_class(component_class):
    return _native_bt.component_class_sink_as_component_class(component_class)

def self_component_class_as_component_class(self_component_class):
    return _native_bt.self_component_class_as_component_class(self_component_class)

def self_component_class_source_as_component_class_source(self_component_class):
    return _native_bt.self_component_class_source_as_component_class_source(self_component_class)

def self_component_class_filter_as_component_class_filter(self_component_class):
    return _native_bt.self_component_class_filter_as_component_class_filter(self_component_class)

def self_component_class_sink_as_component_class_sink(self_component_class):
    return _native_bt.self_component_class_sink_as_component_class_sink(self_component_class)

def self_component_class_source_as_self_component_class(self_component_class):
    return _native_bt.self_component_class_source_as_self_component_class(self_component_class)

def self_component_class_filter_as_self_component_class(self_component_class):
    return _native_bt.self_component_class_filter_as_self_component_class(self_component_class)

def self_component_class_sink_as_self_component_class(self_component_class):
    return _native_bt.self_component_class_sink_as_self_component_class(self_component_class)

def bt2_component_class_source_create(py_cls, name, description, help):
    return _native_bt.bt2_component_class_source_create(py_cls, name, description, help)

def bt2_component_class_filter_create(py_cls, name, description, help):
    return _native_bt.bt2_component_class_filter_create(py_cls, name, description, help)

def bt2_component_class_sink_create(py_cls, name, description, help):
    return _native_bt.bt2_component_class_sink_create(py_cls, name, description, help)

def bt2_unregister_cc_ptr_to_py_cls(comp_cls):
    return _native_bt.bt2_unregister_cc_ptr_to_py_cls(comp_cls)

def bt2_is_python_component_class(comp_cls):
    return _native_bt.bt2_is_python_component_class(comp_cls)

def connection_borrow_downstream_port_const(connection):
    return _native_bt.connection_borrow_downstream_port_const(connection)

def connection_borrow_upstream_port_const(connection):
    return _native_bt.connection_borrow_upstream_port_const(connection)

def connection_get_ref(connection):
    return _native_bt.connection_get_ref(connection)

def connection_put_ref(connection):
    return _native_bt.connection_put_ref(connection)

def current_thread_take_error():
    return _native_bt.current_thread_take_error()

def current_thread_move_error(error):
    return _native_bt.current_thread_move_error(error)

def current_thread_clear_error():
    return _native_bt.current_thread_clear_error()
CURRENT_THREAD_ERROR_APPEND_CAUSE_STATUS_OK = _native_bt.CURRENT_THREAD_ERROR_APPEND_CAUSE_STATUS_OK
CURRENT_THREAD_ERROR_APPEND_CAUSE_STATUS_MEMORY_ERROR = _native_bt.CURRENT_THREAD_ERROR_APPEND_CAUSE_STATUS_MEMORY_ERROR

def error_get_cause_count(error):
    return _native_bt.error_get_cause_count(error)

def error_borrow_cause_by_index(error, index):
    return _native_bt.error_borrow_cause_by_index(error, index)

def error_release(error):
    return _native_bt.error_release(error)
ERROR_CAUSE_ACTOR_TYPE_UNKNOWN = _native_bt.ERROR_CAUSE_ACTOR_TYPE_UNKNOWN
ERROR_CAUSE_ACTOR_TYPE_COMPONENT = _native_bt.ERROR_CAUSE_ACTOR_TYPE_COMPONENT
ERROR_CAUSE_ACTOR_TYPE_COMPONENT_CLASS = _native_bt.ERROR_CAUSE_ACTOR_TYPE_COMPONENT_CLASS
ERROR_CAUSE_ACTOR_TYPE_MESSAGE_ITERATOR = _native_bt.ERROR_CAUSE_ACTOR_TYPE_MESSAGE_ITERATOR

def error_cause_get_actor_type(error_cause):
    return _native_bt.error_cause_get_actor_type(error_cause)

def error_cause_get_message(error_cause):
    return _native_bt.error_cause_get_message(error_cause)

def error_cause_get_module_name(error_cause):
    return _native_bt.error_cause_get_module_name(error_cause)

def error_cause_get_file_name(error_cause):
    return _native_bt.error_cause_get_file_name(error_cause)

def error_cause_get_line_number(error_cause):
    return _native_bt.error_cause_get_line_number(error_cause)

def error_cause_component_actor_get_component_name(error_cause):
    return _native_bt.error_cause_component_actor_get_component_name(error_cause)

def error_cause_component_actor_get_component_class_type(error_cause):
    return _native_bt.error_cause_component_actor_get_component_class_type(error_cause)

def error_cause_component_actor_get_component_class_name(error_cause):
    return _native_bt.error_cause_component_actor_get_component_class_name(error_cause)

def error_cause_component_actor_get_plugin_name(error_cause):
    return _native_bt.error_cause_component_actor_get_plugin_name(error_cause)

def error_cause_message_iterator_actor_get_component_output_port_name(error_cause):
    return _native_bt.error_cause_message_iterator_actor_get_component_output_port_name(error_cause)

def error_cause_message_iterator_actor_get_component_name(error_cause):
    return _native_bt.error_cause_message_iterator_actor_get_component_name(error_cause)

def error_cause_message_iterator_actor_get_component_class_type(error_cause):
    return _native_bt.error_cause_message_iterator_actor_get_component_class_type(error_cause)

def error_cause_message_iterator_actor_get_component_class_name(error_cause):
    return _native_bt.error_cause_message_iterator_actor_get_component_class_name(error_cause)

def error_cause_message_iterator_actor_get_plugin_name(error_cause):
    return _native_bt.error_cause_message_iterator_actor_get_plugin_name(error_cause)

def error_cause_component_class_actor_get_component_class_type(error_cause):
    return _native_bt.error_cause_component_class_actor_get_component_class_type(error_cause)

def error_cause_component_class_actor_get_component_class_name(error_cause):
    return _native_bt.error_cause_component_class_actor_get_component_class_name(error_cause)

def error_cause_component_class_actor_get_plugin_name(error_cause):
    return _native_bt.error_cause_component_class_actor_get_plugin_name(error_cause)

def bt2_format_bt_error_cause(error_cause):
    return _native_bt.bt2_format_bt_error_cause(error_cause)

def bt2_format_bt_error(error):
    return _native_bt.bt2_format_bt_error(error)

def event_borrow_class(event):
    return _native_bt.event_borrow_class(event)

def event_borrow_class_const(event):
    return _native_bt.event_borrow_class_const(event)

def event_borrow_stream(event):
    return _native_bt.event_borrow_stream(event)

def event_borrow_stream_const(event):
    return _native_bt.event_borrow_stream_const(event)

def event_borrow_packet(event):
    return _native_bt.event_borrow_packet(event)

def event_borrow_packet_const(event):
    return _native_bt.event_borrow_packet_const(event)

def event_borrow_payload_field(event):
    return _native_bt.event_borrow_payload_field(event)

def event_borrow_payload_field_const(event):
    return _native_bt.event_borrow_payload_field_const(event)

def event_borrow_specific_context_field(event):
    return _native_bt.event_borrow_specific_context_field(event)

def event_borrow_specific_context_field_const(event):
    return _native_bt.event_borrow_specific_context_field_const(event)

def event_borrow_common_context_field(event):
    return _native_bt.event_borrow_common_context_field(event)

def event_borrow_common_context_field_const(event):
    return _native_bt.event_borrow_common_context_field_const(event)

def event_class_create(stream_class):
    return _native_bt.event_class_create(stream_class)

def event_class_create_with_id(stream_class, id):
    return _native_bt.event_class_create_with_id(stream_class, id)

def event_class_borrow_stream_class(event_class):
    return _native_bt.event_class_borrow_stream_class(event_class)

def event_class_borrow_stream_class_const(event_class):
    return _native_bt.event_class_borrow_stream_class_const(event_class)

def event_class_get_id(event_class):
    return _native_bt.event_class_get_id(event_class)
EVENT_CLASS_SET_NAMESPACE_STATUS_OK = _native_bt.EVENT_CLASS_SET_NAMESPACE_STATUS_OK
EVENT_CLASS_SET_NAMESPACE_STATUS_MEMORY_ERROR = _native_bt.EVENT_CLASS_SET_NAMESPACE_STATUS_MEMORY_ERROR

def event_class_set_namespace(event_class, ns):
    return _native_bt.event_class_set_namespace(event_class, ns)

def event_class_get_namespace(event_class):
    return _native_bt.event_class_get_namespace(event_class)
EVENT_CLASS_SET_NAME_STATUS_OK = _native_bt.EVENT_CLASS_SET_NAME_STATUS_OK
EVENT_CLASS_SET_NAME_STATUS_MEMORY_ERROR = _native_bt.EVENT_CLASS_SET_NAME_STATUS_MEMORY_ERROR

def event_class_set_name(event_class, name):
    return _native_bt.event_class_set_name(event_class, name)
EVENT_CLASS_SET_UID_STATUS_OK = _native_bt.EVENT_CLASS_SET_UID_STATUS_OK
EVENT_CLASS_SET_UID_STATUS_MEMORY_ERROR = _native_bt.EVENT_CLASS_SET_UID_STATUS_MEMORY_ERROR

def event_class_set_uid(event_class, uid):
    return _native_bt.event_class_set_uid(event_class, uid)

def event_class_get_uid(event_class):
    return _native_bt.event_class_get_uid(event_class)

def event_class_get_name(event_class):
    return _native_bt.event_class_get_name(event_class)
EVENT_CLASS_LOG_LEVEL_EMERGENCY = _native_bt.EVENT_CLASS_LOG_LEVEL_EMERGENCY
EVENT_CLASS_LOG_LEVEL_ALERT = _native_bt.EVENT_CLASS_LOG_LEVEL_ALERT
EVENT_CLASS_LOG_LEVEL_CRITICAL = _native_bt.EVENT_CLASS_LOG_LEVEL_CRITICAL
EVENT_CLASS_LOG_LEVEL_ERROR = _native_bt.EVENT_CLASS_LOG_LEVEL_ERROR
EVENT_CLASS_LOG_LEVEL_WARNING = _native_bt.EVENT_CLASS_LOG_LEVEL_WARNING
EVENT_CLASS_LOG_LEVEL_NOTICE = _native_bt.EVENT_CLASS_LOG_LEVEL_NOTICE
EVENT_CLASS_LOG_LEVEL_INFO = _native_bt.EVENT_CLASS_LOG_LEVEL_INFO
EVENT_CLASS_LOG_LEVEL_DEBUG_SYSTEM = _native_bt.EVENT_CLASS_LOG_LEVEL_DEBUG_SYSTEM
EVENT_CLASS_LOG_LEVEL_DEBUG_PROGRAM = _native_bt.EVENT_CLASS_LOG_LEVEL_DEBUG_PROGRAM
EVENT_CLASS_LOG_LEVEL_DEBUG_PROCESS = _native_bt.EVENT_CLASS_LOG_LEVEL_DEBUG_PROCESS
EVENT_CLASS_LOG_LEVEL_DEBUG_MODULE = _native_bt.EVENT_CLASS_LOG_LEVEL_DEBUG_MODULE
EVENT_CLASS_LOG_LEVEL_DEBUG_UNIT = _native_bt.EVENT_CLASS_LOG_LEVEL_DEBUG_UNIT
EVENT_CLASS_LOG_LEVEL_DEBUG_FUNCTION = _native_bt.EVENT_CLASS_LOG_LEVEL_DEBUG_FUNCTION
EVENT_CLASS_LOG_LEVEL_DEBUG_LINE = _native_bt.EVENT_CLASS_LOG_LEVEL_DEBUG_LINE
EVENT_CLASS_LOG_LEVEL_DEBUG = _native_bt.EVENT_CLASS_LOG_LEVEL_DEBUG

def event_class_set_log_level(event_class, log_level):
    return _native_bt.event_class_set_log_level(event_class, log_level)

def event_class_get_log_level(event_class):
    return _native_bt.event_class_get_log_level(event_class)
EVENT_CLASS_SET_EMF_URI_STATUS_OK = _native_bt.EVENT_CLASS_SET_EMF_URI_STATUS_OK
EVENT_CLASS_SET_EMF_URI_STATUS_MEMORY_ERROR = _native_bt.EVENT_CLASS_SET_EMF_URI_STATUS_MEMORY_ERROR

def event_class_set_emf_uri(event_class, emf_uri):
    return _native_bt.event_class_set_emf_uri(event_class, emf_uri)

def event_class_get_emf_uri(event_class):
    return _native_bt.event_class_get_emf_uri(event_class)
EVENT_CLASS_SET_FIELD_CLASS_STATUS_OK = _native_bt.EVENT_CLASS_SET_FIELD_CLASS_STATUS_OK
EVENT_CLASS_SET_FIELD_CLASS_STATUS_MEMORY_ERROR = _native_bt.EVENT_CLASS_SET_FIELD_CLASS_STATUS_MEMORY_ERROR

def event_class_set_payload_field_class(event_class, field_class):
    return _native_bt.event_class_set_payload_field_class(event_class, field_class)

def event_class_borrow_payload_field_class(event_class):
    return _native_bt.event_class_borrow_payload_field_class(event_class)

def event_class_borrow_payload_field_class_const(event_class):
    return _native_bt.event_class_borrow_payload_field_class_const(event_class)

def event_class_set_specific_context_field_class(event_class, field_class):
    return _native_bt.event_class_set_specific_context_field_class(event_class, field_class)

def event_class_borrow_specific_context_field_class(event_class):
    return _native_bt.event_class_borrow_specific_context_field_class(event_class)

def event_class_borrow_specific_context_field_class_const(event_class):
    return _native_bt.event_class_borrow_specific_context_field_class_const(event_class)

def event_class_set_user_attributes(event_class, user_attributes):
    return _native_bt.event_class_set_user_attributes(event_class, user_attributes)

def event_class_borrow_user_attributes(event_class):
    return _native_bt.event_class_borrow_user_attributes(event_class)

def event_class_borrow_user_attributes_const(event_class):
    return _native_bt.event_class_borrow_user_attributes_const(event_class)

def event_class_get_ref(event_class):
    return _native_bt.event_class_get_ref(event_class)

def event_class_put_ref(event_class):
    return _native_bt.event_class_put_ref(event_class)
FIELD_CLASS_TYPE_BOOL = _native_bt.FIELD_CLASS_TYPE_BOOL
FIELD_CLASS_TYPE_BIT_ARRAY = _native_bt.FIELD_CLASS_TYPE_BIT_ARRAY
FIELD_CLASS_TYPE_INTEGER = _native_bt.FIELD_CLASS_TYPE_INTEGER
FIELD_CLASS_TYPE_UNSIGNED_INTEGER = _native_bt.FIELD_CLASS_TYPE_UNSIGNED_INTEGER
FIELD_CLASS_TYPE_SIGNED_INTEGER = _native_bt.FIELD_CLASS_TYPE_SIGNED_INTEGER
FIELD_CLASS_TYPE_ENUMERATION = _native_bt.FIELD_CLASS_TYPE_ENUMERATION
FIELD_CLASS_TYPE_UNSIGNED_ENUMERATION = _native_bt.FIELD_CLASS_TYPE_UNSIGNED_ENUMERATION
FIELD_CLASS_TYPE_SIGNED_ENUMERATION = _native_bt.FIELD_CLASS_TYPE_SIGNED_ENUMERATION
FIELD_CLASS_TYPE_REAL = _native_bt.FIELD_CLASS_TYPE_REAL
FIELD_CLASS_TYPE_SINGLE_PRECISION_REAL = _native_bt.FIELD_CLASS_TYPE_SINGLE_PRECISION_REAL
FIELD_CLASS_TYPE_DOUBLE_PRECISION_REAL = _native_bt.FIELD_CLASS_TYPE_DOUBLE_PRECISION_REAL
FIELD_CLASS_TYPE_STRING = _native_bt.FIELD_CLASS_TYPE_STRING
FIELD_CLASS_TYPE_BLOB = _native_bt.FIELD_CLASS_TYPE_BLOB
FIELD_CLASS_TYPE_STATIC_BLOB = _native_bt.FIELD_CLASS_TYPE_STATIC_BLOB
FIELD_CLASS_TYPE_DYNAMIC_BLOB = _native_bt.FIELD_CLASS_TYPE_DYNAMIC_BLOB
FIELD_CLASS_TYPE_DYNAMIC_BLOB_WITHOUT_LENGTH_FIELD = _native_bt.FIELD_CLASS_TYPE_DYNAMIC_BLOB_WITHOUT_LENGTH_FIELD
FIELD_CLASS_TYPE_DYNAMIC_BLOB_WITH_LENGTH_FIELD = _native_bt.FIELD_CLASS_TYPE_DYNAMIC_BLOB_WITH_LENGTH_FIELD
FIELD_CLASS_TYPE_STRUCTURE = _native_bt.FIELD_CLASS_TYPE_STRUCTURE
FIELD_CLASS_TYPE_ARRAY = _native_bt.FIELD_CLASS_TYPE_ARRAY
FIELD_CLASS_TYPE_STATIC_ARRAY = _native_bt.FIELD_CLASS_TYPE_STATIC_ARRAY
FIELD_CLASS_TYPE_DYNAMIC_ARRAY = _native_bt.FIELD_CLASS_TYPE_DYNAMIC_ARRAY
FIELD_CLASS_TYPE_DYNAMIC_ARRAY_WITHOUT_LENGTH_FIELD = _native_bt.FIELD_CLASS_TYPE_DYNAMIC_ARRAY_WITHOUT_LENGTH_FIELD
FIELD_CLASS_TYPE_DYNAMIC_ARRAY_WITH_LENGTH_FIELD = _native_bt.FIELD_CLASS_TYPE_DYNAMIC_ARRAY_WITH_LENGTH_FIELD
FIELD_CLASS_TYPE_OPTION = _native_bt.FIELD_CLASS_TYPE_OPTION
FIELD_CLASS_TYPE_OPTION_WITHOUT_SELECTOR_FIELD = _native_bt.FIELD_CLASS_TYPE_OPTION_WITHOUT_SELECTOR_FIELD
FIELD_CLASS_TYPE_OPTION_WITH_SELECTOR_FIELD = _native_bt.FIELD_CLASS_TYPE_OPTION_WITH_SELECTOR_FIELD
FIELD_CLASS_TYPE_OPTION_WITH_BOOL_SELECTOR_FIELD = _native_bt.FIELD_CLASS_TYPE_OPTION_WITH_BOOL_SELECTOR_FIELD
FIELD_CLASS_TYPE_OPTION_WITH_INTEGER_SELECTOR_FIELD = _native_bt.FIELD_CLASS_TYPE_OPTION_WITH_INTEGER_SELECTOR_FIELD
FIELD_CLASS_TYPE_OPTION_WITH_UNSIGNED_INTEGER_SELECTOR_FIELD = _native_bt.FIELD_CLASS_TYPE_OPTION_WITH_UNSIGNED_INTEGER_SELECTOR_FIELD
FIELD_CLASS_TYPE_OPTION_WITH_SIGNED_INTEGER_SELECTOR_FIELD = _native_bt.FIELD_CLASS_TYPE_OPTION_WITH_SIGNED_INTEGER_SELECTOR_FIELD
FIELD_CLASS_TYPE_VARIANT = _native_bt.FIELD_CLASS_TYPE_VARIANT
FIELD_CLASS_TYPE_VARIANT_WITHOUT_SELECTOR_FIELD = _native_bt.FIELD_CLASS_TYPE_VARIANT_WITHOUT_SELECTOR_FIELD
FIELD_CLASS_TYPE_VARIANT_WITH_SELECTOR_FIELD = _native_bt.FIELD_CLASS_TYPE_VARIANT_WITH_SELECTOR_FIELD
FIELD_CLASS_TYPE_VARIANT_WITH_INTEGER_SELECTOR_FIELD = _native_bt.FIELD_CLASS_TYPE_VARIANT_WITH_INTEGER_SELECTOR_FIELD
FIELD_CLASS_TYPE_VARIANT_WITH_UNSIGNED_INTEGER_SELECTOR_FIELD = _native_bt.FIELD_CLASS_TYPE_VARIANT_WITH_UNSIGNED_INTEGER_SELECTOR_FIELD
FIELD_CLASS_TYPE_VARIANT_WITH_SIGNED_INTEGER_SELECTOR_FIELD = _native_bt.FIELD_CLASS_TYPE_VARIANT_WITH_SIGNED_INTEGER_SELECTOR_FIELD
__BT_FIELD_CLASS_TYPE_BIG_VALUE = _native_bt.__BT_FIELD_CLASS_TYPE_BIG_VALUE

def field_class_get_type(field_class):
    return _native_bt.field_class_get_type(field_class)

def field_class_type_is(type, other_type):
    return _native_bt.field_class_type_is(type, other_type)

def field_class_set_user_attributes(field_class, user_attributes):
    return _native_bt.field_class_set_user_attributes(field_class, user_attributes)

def field_class_borrow_user_attributes(field_class):
    return _native_bt.field_class_borrow_user_attributes(field_class)

def field_class_borrow_user_attributes_const(field_class):
    return _native_bt.field_class_borrow_user_attributes_const(field_class)

def field_class_get_graph_mip_version(field_class):
    return _native_bt.field_class_get_graph_mip_version(field_class)

def field_class_bool_create(trace_class):
    return _native_bt.field_class_bool_create(trace_class)

def field_class_bit_array_create(trace_class, length):
    return _native_bt.field_class_bit_array_create(trace_class, length)

def field_class_bit_array_get_length(field_class):
    return _native_bt.field_class_bit_array_get_length(field_class)
FIELD_CLASS_BIT_ARRAY_ADD_FLAG_STATUS_OK = _native_bt.FIELD_CLASS_BIT_ARRAY_ADD_FLAG_STATUS_OK
FIELD_CLASS_BIT_ARRAY_ADD_FLAG_STATUS_MEMORY_ERROR = _native_bt.FIELD_CLASS_BIT_ARRAY_ADD_FLAG_STATUS_MEMORY_ERROR

def field_class_bit_array_add_flag(field_class, label, index_ranges):
    return _native_bt.field_class_bit_array_add_flag(field_class, label, index_ranges)

def field_class_bit_array_get_flag_count(field_class):
    return _native_bt.field_class_bit_array_get_flag_count(field_class)

def field_class_bit_array_borrow_flag_by_index_const(field_class, index):
    return _native_bt.field_class_bit_array_borrow_flag_by_index_const(field_class, index)

def field_class_bit_array_borrow_flag_by_label_const(field_class, label):
    return _native_bt.field_class_bit_array_borrow_flag_by_label_const(field_class, label)
FIELD_CLASS_BIT_ARRAY_GET_ACTIVE_FLAG_LABELS_FOR_VALUE_AS_INTEGER_STATUS_OK = _native_bt.FIELD_CLASS_BIT_ARRAY_GET_ACTIVE_FLAG_LABELS_FOR_VALUE_AS_INTEGER_STATUS_OK
FIELD_CLASS_BIT_ARRAY_GET_ACTIVE_FLAG_LABELS_FOR_VALUE_AS_INTEGER_STATUS_MEMORY_ERROR = _native_bt.FIELD_CLASS_BIT_ARRAY_GET_ACTIVE_FLAG_LABELS_FOR_VALUE_AS_INTEGER_STATUS_MEMORY_ERROR

def field_class_bit_array_get_active_flag_labels_for_value_as_integer(field_class, value_as_integer):
    return _native_bt.field_class_bit_array_get_active_flag_labels_for_value_as_integer(field_class, value_as_integer)

def field_class_bit_array_flag_get_label(flag):
    return _native_bt.field_class_bit_array_flag_get_label(flag)

def field_class_bit_array_flag_borrow_index_ranges_const(flag):
    return _native_bt.field_class_bit_array_flag_borrow_index_ranges_const(flag)

def field_class_integer_set_field_value_range(field_class, n):
    return _native_bt.field_class_integer_set_field_value_range(field_class, n)

def field_class_integer_get_field_value_range(field_class):
    return _native_bt.field_class_integer_get_field_value_range(field_class)
FIELD_CLASS_INTEGER_FIELD_VALUE_HINT_SMALL = _native_bt.FIELD_CLASS_INTEGER_FIELD_VALUE_HINT_SMALL

def field_class_integer_set_field_value_hints(field_class, hints):
    return _native_bt.field_class_integer_set_field_value_hints(field_class, hints)

def field_class_integer_get_field_value_hints(field_class):
    return _native_bt.field_class_integer_get_field_value_hints(field_class)

def field_class_integer_has_field_value_hint(field_class, hint):
    return _native_bt.field_class_integer_has_field_value_hint(field_class, hint)
FIELD_CLASS_INTEGER_PREFERRED_DISPLAY_BASE_BINARY = _native_bt.FIELD_CLASS_INTEGER_PREFERRED_DISPLAY_BASE_BINARY
FIELD_CLASS_INTEGER_PREFERRED_DISPLAY_BASE_OCTAL = _native_bt.FIELD_CLASS_INTEGER_PREFERRED_DISPLAY_BASE_OCTAL
FIELD_CLASS_INTEGER_PREFERRED_DISPLAY_BASE_DECIMAL = _native_bt.FIELD_CLASS_INTEGER_PREFERRED_DISPLAY_BASE_DECIMAL
FIELD_CLASS_INTEGER_PREFERRED_DISPLAY_BASE_HEXADECIMAL = _native_bt.FIELD_CLASS_INTEGER_PREFERRED_DISPLAY_BASE_HEXADECIMAL

def field_class_integer_set_preferred_display_base(field_class, preferred_display_base):
    return _native_bt.field_class_integer_set_preferred_display_base(field_class, preferred_display_base)

def field_class_integer_get_preferred_display_base(field_class):
    return _native_bt.field_class_integer_get_preferred_display_base(field_class)

def field_class_integer_unsigned_create(trace_class):
    return _native_bt.field_class_integer_unsigned_create(trace_class)

def field_class_integer_signed_create(trace_class):
    return _native_bt.field_class_integer_signed_create(trace_class)

def field_class_real_single_precision_create(trace_class):
    return _native_bt.field_class_real_single_precision_create(trace_class)

def field_class_real_double_precision_create(trace_class):
    return _native_bt.field_class_real_double_precision_create(trace_class)
FIELD_CLASS_ENUMERATION_GET_MAPPING_LABELS_BY_VALUE_STATUS_OK = _native_bt.FIELD_CLASS_ENUMERATION_GET_MAPPING_LABELS_BY_VALUE_STATUS_OK
FIELD_CLASS_ENUMERATION_GET_MAPPING_LABELS_BY_VALUE_STATUS_MEMORY_ERROR = _native_bt.FIELD_CLASS_ENUMERATION_GET_MAPPING_LABELS_BY_VALUE_STATUS_MEMORY_ERROR
FIELD_CLASS_ENUMERATION_ADD_MAPPING_STATUS_OK = _native_bt.FIELD_CLASS_ENUMERATION_ADD_MAPPING_STATUS_OK
FIELD_CLASS_ENUMERATION_ADD_MAPPING_STATUS_MEMORY_ERROR = _native_bt.FIELD_CLASS_ENUMERATION_ADD_MAPPING_STATUS_MEMORY_ERROR

def field_class_enumeration_get_mapping_count(field_class):
    return _native_bt.field_class_enumeration_get_mapping_count(field_class)

def field_class_enumeration_mapping_get_label(mapping):
    return _native_bt.field_class_enumeration_mapping_get_label(mapping)

def field_class_enumeration_unsigned_create(trace_class):
    return _native_bt.field_class_enumeration_unsigned_create(trace_class)

def field_class_enumeration_unsigned_add_mapping(field_class, label, ranges):
    return _native_bt.field_class_enumeration_unsigned_add_mapping(field_class, label, ranges)

def field_class_enumeration_unsigned_borrow_mapping_by_index_const(field_class, index):
    return _native_bt.field_class_enumeration_unsigned_borrow_mapping_by_index_const(field_class, index)

def field_class_enumeration_unsigned_borrow_mapping_by_label_const(field_class, label):
    return _native_bt.field_class_enumeration_unsigned_borrow_mapping_by_label_const(field_class, label)

def field_class_enumeration_unsigned_get_mapping_labels_for_value(field_class, value):
    return _native_bt.field_class_enumeration_unsigned_get_mapping_labels_for_value(field_class, value)

def field_class_enumeration_unsigned_mapping_borrow_ranges_const(mapping):
    return _native_bt.field_class_enumeration_unsigned_mapping_borrow_ranges_const(mapping)

def field_class_enumeration_unsigned_mapping_as_mapping_const(mapping):
    return _native_bt.field_class_enumeration_unsigned_mapping_as_mapping_const(mapping)

def field_class_enumeration_signed_create(trace_class):
    return _native_bt.field_class_enumeration_signed_create(trace_class)

def field_class_enumeration_signed_add_mapping(field_class, label, ranges):
    return _native_bt.field_class_enumeration_signed_add_mapping(field_class, label, ranges)

def field_class_enumeration_signed_borrow_mapping_by_index_const(field_class, index):
    return _native_bt.field_class_enumeration_signed_borrow_mapping_by_index_const(field_class, index)

def field_class_enumeration_signed_borrow_mapping_by_label_const(field_class, label):
    return _native_bt.field_class_enumeration_signed_borrow_mapping_by_label_const(field_class, label)

def field_class_enumeration_signed_get_mapping_labels_for_value(field_class, value):
    return _native_bt.field_class_enumeration_signed_get_mapping_labels_for_value(field_class, value)

def field_class_enumeration_signed_mapping_borrow_ranges_const(mapping):
    return _native_bt.field_class_enumeration_signed_mapping_borrow_ranges_const(mapping)

def field_class_enumeration_signed_mapping_as_mapping_const(mapping):
    return _native_bt.field_class_enumeration_signed_mapping_as_mapping_const(mapping)

def field_class_string_create(trace_class):
    return _native_bt.field_class_string_create(trace_class)

def field_class_blob_static_create(trace_class, length):
    return _native_bt.field_class_blob_static_create(trace_class, length)

def field_class_blob_dynamic_without_length_field_location_create(trace_class):
    return _native_bt.field_class_blob_dynamic_without_length_field_location_create(trace_class)

def field_class_blob_dynamic_with_length_field_location_create(trace_class, length_field_location):
    return _native_bt.field_class_blob_dynamic_with_length_field_location_create(trace_class, length_field_location)

def field_class_blob_static_get_length(field_class):
    return _native_bt.field_class_blob_static_get_length(field_class)

def field_class_blob_dynamic_with_length_field_borrow_length_field_location_const(field_class):
    return _native_bt.field_class_blob_dynamic_with_length_field_borrow_length_field_location_const(field_class)
FIELD_CLASS_BLOB_SET_MEDIA_TYPE_STATUS_OK = _native_bt.FIELD_CLASS_BLOB_SET_MEDIA_TYPE_STATUS_OK
FIELD_CLASS_BLOB_SET_MEDIA_TYPE_STATUS_MEMORY_ERROR = _native_bt.FIELD_CLASS_BLOB_SET_MEDIA_TYPE_STATUS_MEMORY_ERROR

def field_class_blob_set_media_type(field_class, media_type):
    return _native_bt.field_class_blob_set_media_type(field_class, media_type)

def field_class_blob_get_media_type(field_class):
    return _native_bt.field_class_blob_get_media_type(field_class)

def field_class_array_borrow_element_field_class(field_class):
    return _native_bt.field_class_array_borrow_element_field_class(field_class)

def field_class_array_borrow_element_field_class_const(field_class):
    return _native_bt.field_class_array_borrow_element_field_class_const(field_class)

def field_class_array_static_create(trace_class, element_field_class, length):
    return _native_bt.field_class_array_static_create(trace_class, element_field_class, length)

def field_class_array_static_get_length(field_class):
    return _native_bt.field_class_array_static_get_length(field_class)

def field_class_array_dynamic_create(trace_class, element_field_class, length_field_class):
    return _native_bt.field_class_array_dynamic_create(trace_class, element_field_class, length_field_class)

def field_class_array_dynamic_without_length_field_location_create(trace_class, element_field_class):
    return _native_bt.field_class_array_dynamic_without_length_field_location_create(trace_class, element_field_class)

def field_class_array_dynamic_with_length_field_location_create(trace_class, element_field_class, length_field_location):
    return _native_bt.field_class_array_dynamic_with_length_field_location_create(trace_class, element_field_class, length_field_location)

def field_class_array_dynamic_with_length_field_borrow_length_field_path_const(field_class):
    return _native_bt.field_class_array_dynamic_with_length_field_borrow_length_field_path_const(field_class)

def field_class_array_dynamic_with_length_field_borrow_length_field_location_const(field_class):
    return _native_bt.field_class_array_dynamic_with_length_field_borrow_length_field_location_const(field_class)

def field_class_structure_create(trace_class):
    return _native_bt.field_class_structure_create(trace_class)
FIELD_CLASS_STRUCTURE_APPEND_MEMBER_STATUS_OK = _native_bt.FIELD_CLASS_STRUCTURE_APPEND_MEMBER_STATUS_OK
FIELD_CLASS_STRUCTURE_APPEND_MEMBER_STATUS_MEMORY_ERROR = _native_bt.FIELD_CLASS_STRUCTURE_APPEND_MEMBER_STATUS_MEMORY_ERROR

def field_class_structure_append_member(field_class, name, member_field_class):
    return _native_bt.field_class_structure_append_member(field_class, name, member_field_class)

def field_class_structure_get_member_count(field_class):
    return _native_bt.field_class_structure_get_member_count(field_class)

def field_class_structure_borrow_member_by_index(field_class, index):
    return _native_bt.field_class_structure_borrow_member_by_index(field_class, index)

def field_class_structure_borrow_member_by_index_const(field_class, index):
    return _native_bt.field_class_structure_borrow_member_by_index_const(field_class, index)

def field_class_structure_borrow_member_by_name(field_class, name):
    return _native_bt.field_class_structure_borrow_member_by_name(field_class, name)

def field_class_structure_borrow_member_by_name_const(field_class, name):
    return _native_bt.field_class_structure_borrow_member_by_name_const(field_class, name)

def field_class_structure_member_get_name(member):
    return _native_bt.field_class_structure_member_get_name(member)

def field_class_structure_member_borrow_field_class(member):
    return _native_bt.field_class_structure_member_borrow_field_class(member)

def field_class_structure_member_borrow_field_class_const(member):
    return _native_bt.field_class_structure_member_borrow_field_class_const(member)

def field_class_structure_member_set_user_attributes(member, user_attributes):
    return _native_bt.field_class_structure_member_set_user_attributes(member, user_attributes)

def field_class_structure_member_borrow_user_attributes(member):
    return _native_bt.field_class_structure_member_borrow_user_attributes(member)

def field_class_structure_member_borrow_user_attributes_const(member):
    return _native_bt.field_class_structure_member_borrow_user_attributes_const(member)

def field_class_option_borrow_field_class(field_class):
    return _native_bt.field_class_option_borrow_field_class(field_class)

def field_class_option_borrow_field_class_const(field_class):
    return _native_bt.field_class_option_borrow_field_class_const(field_class)

def field_class_option_without_selector_create(trace_class, optional_field_class):
    return _native_bt.field_class_option_without_selector_create(trace_class, optional_field_class)

def field_class_option_without_selector_field_location_create(trace_class, optional_field_class):
    return _native_bt.field_class_option_without_selector_field_location_create(trace_class, optional_field_class)

def field_class_option_with_selector_field_borrow_selector_field_path_const(field_class):
    return _native_bt.field_class_option_with_selector_field_borrow_selector_field_path_const(field_class)

def field_class_option_with_selector_field_borrow_selector_field_location_const(field_class):
    return _native_bt.field_class_option_with_selector_field_borrow_selector_field_location_const(field_class)

def field_class_option_with_selector_field_bool_create(trace_class, optional_field_class, selector_field_class):
    return _native_bt.field_class_option_with_selector_field_bool_create(trace_class, optional_field_class, selector_field_class)

def field_class_option_with_selector_field_location_bool_create(trace_class, optional_field_class, selector_field_location):
    return _native_bt.field_class_option_with_selector_field_location_bool_create(trace_class, optional_field_class, selector_field_location)

def field_class_option_with_selector_field_bool_set_selector_is_reversed(field_class, selector_is_reversed):
    return _native_bt.field_class_option_with_selector_field_bool_set_selector_is_reversed(field_class, selector_is_reversed)

def field_class_option_with_selector_field_bool_selector_is_reversed(field_class):
    return _native_bt.field_class_option_with_selector_field_bool_selector_is_reversed(field_class)

def field_class_option_with_selector_field_integer_unsigned_create(trace_class, optional_field_class, selector_field_class, ranges):
    return _native_bt.field_class_option_with_selector_field_integer_unsigned_create(trace_class, optional_field_class, selector_field_class, ranges)

def field_class_option_with_selector_field_location_integer_unsigned_create(trace_class, optional_field_class, selector_field_location, ranges):
    return _native_bt.field_class_option_with_selector_field_location_integer_unsigned_create(trace_class, optional_field_class, selector_field_location, ranges)

def field_class_option_with_selector_field_integer_unsigned_borrow_selector_ranges_const(field_class):
    return _native_bt.field_class_option_with_selector_field_integer_unsigned_borrow_selector_ranges_const(field_class)

def field_class_option_with_selector_field_integer_signed_create(trace_class, optional_field_class, selector_field_class, ranges):
    return _native_bt.field_class_option_with_selector_field_integer_signed_create(trace_class, optional_field_class, selector_field_class, ranges)

def field_class_option_with_selector_field_location_integer_signed_create(trace_class, optional_field_class, selector_field_location, ranges):
    return _native_bt.field_class_option_with_selector_field_location_integer_signed_create(trace_class, optional_field_class, selector_field_location, ranges)

def field_class_option_with_selector_field_integer_signed_borrow_selector_ranges_const(field_class):
    return _native_bt.field_class_option_with_selector_field_integer_signed_borrow_selector_ranges_const(field_class)

def field_class_variant_create(trace_class, selector_field_class):
    return _native_bt.field_class_variant_create(trace_class, selector_field_class)

def field_class_variant_get_option_count(field_class):
    return _native_bt.field_class_variant_get_option_count(field_class)

def field_class_variant_borrow_option_by_index(field_class, index):
    return _native_bt.field_class_variant_borrow_option_by_index(field_class, index)

def field_class_variant_borrow_option_by_index_const(field_class, index):
    return _native_bt.field_class_variant_borrow_option_by_index_const(field_class, index)

def field_class_variant_borrow_option_by_name(field_class, name):
    return _native_bt.field_class_variant_borrow_option_by_name(field_class, name)

def field_class_variant_borrow_option_by_name_const(field_class, name):
    return _native_bt.field_class_variant_borrow_option_by_name_const(field_class, name)

def field_class_variant_option_get_name(option):
    return _native_bt.field_class_variant_option_get_name(option)

def field_class_variant_option_borrow_field_class(option):
    return _native_bt.field_class_variant_option_borrow_field_class(option)

def field_class_variant_option_borrow_field_class_const(option):
    return _native_bt.field_class_variant_option_borrow_field_class_const(option)

def field_class_variant_option_set_user_attributes(option, user_attributes):
    return _native_bt.field_class_variant_option_set_user_attributes(option, user_attributes)

def field_class_variant_option_borrow_user_attributes(option):
    return _native_bt.field_class_variant_option_borrow_user_attributes(option)

def field_class_variant_option_borrow_user_attributes_const(option):
    return _native_bt.field_class_variant_option_borrow_user_attributes_const(option)

def field_class_variant_without_selector_field_location_create(trace_class):
    return _native_bt.field_class_variant_without_selector_field_location_create(trace_class)
FIELD_CLASS_VARIANT_WITHOUT_SELECTOR_FIELD_APPEND_OPTION_STATUS_OK = _native_bt.FIELD_CLASS_VARIANT_WITHOUT_SELECTOR_FIELD_APPEND_OPTION_STATUS_OK
FIELD_CLASS_VARIANT_WITHOUT_SELECTOR_FIELD_APPEND_OPTION_STATUS_MEMORY_ERROR = _native_bt.FIELD_CLASS_VARIANT_WITHOUT_SELECTOR_FIELD_APPEND_OPTION_STATUS_MEMORY_ERROR

def field_class_variant_without_selector_append_option(field_class, name, option_field_class):
    return _native_bt.field_class_variant_without_selector_append_option(field_class, name, option_field_class)
FIELD_CLASS_VARIANT_WITH_SELECTOR_FIELD_APPEND_OPTION_STATUS_OK = _native_bt.FIELD_CLASS_VARIANT_WITH_SELECTOR_FIELD_APPEND_OPTION_STATUS_OK
FIELD_CLASS_VARIANT_WITH_SELECTOR_FIELD_APPEND_OPTION_STATUS_MEMORY_ERROR = _native_bt.FIELD_CLASS_VARIANT_WITH_SELECTOR_FIELD_APPEND_OPTION_STATUS_MEMORY_ERROR

def field_class_variant_with_selector_field_borrow_selector_field_path_const(field_class):
    return _native_bt.field_class_variant_with_selector_field_borrow_selector_field_path_const(field_class)

def field_class_variant_with_selector_field_borrow_selector_field_location_const(field_class):
    return _native_bt.field_class_variant_with_selector_field_borrow_selector_field_location_const(field_class)

def field_class_variant_with_selector_field_location_integer_unsigned_create(trace_class, selector_field_location):
    return _native_bt.field_class_variant_with_selector_field_location_integer_unsigned_create(trace_class, selector_field_location)

def field_class_variant_with_selector_field_integer_unsigned_append_option(field_class, name, option_field_class, ranges):
    return _native_bt.field_class_variant_with_selector_field_integer_unsigned_append_option(field_class, name, option_field_class, ranges)

def field_class_variant_with_selector_field_integer_unsigned_borrow_option_by_index_const(field_class, index):
    return _native_bt.field_class_variant_with_selector_field_integer_unsigned_borrow_option_by_index_const(field_class, index)

def field_class_variant_with_selector_field_integer_unsigned_borrow_option_by_name_const(field_class, name):
    return _native_bt.field_class_variant_with_selector_field_integer_unsigned_borrow_option_by_name_const(field_class, name)

def field_class_variant_with_selector_field_integer_unsigned_option_borrow_ranges_const(option):
    return _native_bt.field_class_variant_with_selector_field_integer_unsigned_option_borrow_ranges_const(option)

def field_class_variant_with_selector_field_integer_unsigned_option_as_option_const(option):
    return _native_bt.field_class_variant_with_selector_field_integer_unsigned_option_as_option_const(option)

def field_class_variant_with_selector_field_location_integer_signed_create(trace_class, selector_field_location):
    return _native_bt.field_class_variant_with_selector_field_location_integer_signed_create(trace_class, selector_field_location)

def field_class_variant_with_selector_field_integer_signed_append_option(field_class, name, option_field_class, ranges):
    return _native_bt.field_class_variant_with_selector_field_integer_signed_append_option(field_class, name, option_field_class, ranges)

def field_class_variant_with_selector_field_integer_signed_borrow_option_by_index_const(field_class, index):
    return _native_bt.field_class_variant_with_selector_field_integer_signed_borrow_option_by_index_const(field_class, index)

def field_class_variant_with_selector_field_integer_signed_borrow_option_by_name_const(field_class, name):
    return _native_bt.field_class_variant_with_selector_field_integer_signed_borrow_option_by_name_const(field_class, name)

def field_class_variant_with_selector_field_integer_signed_option_borrow_ranges_const(option):
    return _native_bt.field_class_variant_with_selector_field_integer_signed_option_borrow_ranges_const(option)

def field_class_variant_with_selector_field_integer_signed_option_as_option_const(option):
    return _native_bt.field_class_variant_with_selector_field_integer_signed_option_as_option_const(option)

def field_class_get_ref(field_class):
    return _native_bt.field_class_get_ref(field_class)

def field_class_put_ref(field_class):
    return _native_bt.field_class_put_ref(field_class)

def field_get_class_type(field):
    return _native_bt.field_get_class_type(field)

def field_borrow_class(field):
    return _native_bt.field_borrow_class(field)

def field_borrow_class_const(field):
    return _native_bt.field_borrow_class_const(field)

def field_bool_set_value(field, value):
    return _native_bt.field_bool_set_value(field, value)

def field_bool_get_value(field):
    return _native_bt.field_bool_get_value(field)

def field_bit_array_set_value_as_integer(field, bits):
    return _native_bt.field_bit_array_set_value_as_integer(field, bits)

def field_bit_array_get_value_as_integer(field):
    return _native_bt.field_bit_array_get_value_as_integer(field)
FIELD_BIT_ARRAY_GET_ACTIVE_FLAG_LABELS_STATUS_OK = _native_bt.FIELD_BIT_ARRAY_GET_ACTIVE_FLAG_LABELS_STATUS_OK
FIELD_BIT_ARRAY_GET_ACTIVE_FLAG_LABELS_STATUS_MEMORY_ERROR = _native_bt.FIELD_BIT_ARRAY_GET_ACTIVE_FLAG_LABELS_STATUS_MEMORY_ERROR

def field_bit_array_get_active_flag_labels(field):
    return _native_bt.field_bit_array_get_active_flag_labels(field)

def field_integer_unsigned_set_value(field, value):
    return _native_bt.field_integer_unsigned_set_value(field, value)

def field_integer_unsigned_get_value(field):
    return _native_bt.field_integer_unsigned_get_value(field)

def field_integer_signed_set_value(field, value):
    return _native_bt.field_integer_signed_set_value(field, value)

def field_integer_signed_get_value(field):
    return _native_bt.field_integer_signed_get_value(field)
FIELD_ENUMERATION_GET_MAPPING_LABELS_STATUS_OK = _native_bt.FIELD_ENUMERATION_GET_MAPPING_LABELS_STATUS_OK
FIELD_ENUMERATION_GET_MAPPING_LABELS_STATUS_MEMORY_ERROR = _native_bt.FIELD_ENUMERATION_GET_MAPPING_LABELS_STATUS_MEMORY_ERROR

def field_enumeration_unsigned_get_mapping_labels(field):
    return _native_bt.field_enumeration_unsigned_get_mapping_labels(field)

def field_enumeration_signed_get_mapping_labels(field):
    return _native_bt.field_enumeration_signed_get_mapping_labels(field)

def field_real_single_precision_set_value(field, value):
    return _native_bt.field_real_single_precision_set_value(field, value)

def field_real_single_precision_get_value(field):
    return _native_bt.field_real_single_precision_get_value(field)

def field_real_double_precision_set_value(field, value):
    return _native_bt.field_real_double_precision_set_value(field, value)

def field_real_double_precision_get_value(field):
    return _native_bt.field_real_double_precision_get_value(field)
FIELD_STRING_SET_VALUE_STATUS_OK = _native_bt.FIELD_STRING_SET_VALUE_STATUS_OK
FIELD_STRING_SET_VALUE_STATUS_MEMORY_ERROR = _native_bt.FIELD_STRING_SET_VALUE_STATUS_MEMORY_ERROR

def field_string_set_value(field, value):
    return _native_bt.field_string_set_value(field, value)

def field_string_get_length(field):
    return _native_bt.field_string_get_length(field)

def field_string_get_value(field):
    return _native_bt.field_string_get_value(field)
FIELD_STRING_APPEND_STATUS_OK = _native_bt.FIELD_STRING_APPEND_STATUS_OK
FIELD_STRING_APPEND_STATUS_MEMORY_ERROR = _native_bt.FIELD_STRING_APPEND_STATUS_MEMORY_ERROR

def field_string_append(field, value):
    return _native_bt.field_string_append(field, value)

def field_string_append_with_length(field, value, length):
    return _native_bt.field_string_append_with_length(field, value, length)

def field_string_clear(field):
    return _native_bt.field_string_clear(field)

def field_blob_get_length(field):
    return _native_bt.field_blob_get_length(field)

def field_blob_get_data(field):
    return _native_bt.field_blob_get_data(field)

def field_blob_get_data_const(field):
    return _native_bt.field_blob_get_data_const(field)
FIELD_DYNAMIC_BLOB_SET_LENGTH_STATUS_OK = _native_bt.FIELD_DYNAMIC_BLOB_SET_LENGTH_STATUS_OK
FIELD_DYNAMIC_BLOB_SET_LENGTH_STATUS_MEMORY_ERROR = _native_bt.FIELD_DYNAMIC_BLOB_SET_LENGTH_STATUS_MEMORY_ERROR

def field_blob_dynamic_set_length(field, length):
    return _native_bt.field_blob_dynamic_set_length(field, length)

def field_array_get_length(field):
    return _native_bt.field_array_get_length(field)

def field_array_borrow_element_field_by_index(field, index):
    return _native_bt.field_array_borrow_element_field_by_index(field, index)

def field_array_borrow_element_field_by_index_const(field, index):
    return _native_bt.field_array_borrow_element_field_by_index_const(field, index)
FIELD_DYNAMIC_ARRAY_SET_LENGTH_STATUS_OK = _native_bt.FIELD_DYNAMIC_ARRAY_SET_LENGTH_STATUS_OK
FIELD_DYNAMIC_ARRAY_SET_LENGTH_STATUS_MEMORY_ERROR = _native_bt.FIELD_DYNAMIC_ARRAY_SET_LENGTH_STATUS_MEMORY_ERROR

def field_array_dynamic_set_length(field, length):
    return _native_bt.field_array_dynamic_set_length(field, length)

def field_structure_borrow_member_field_by_index(field, index):
    return _native_bt.field_structure_borrow_member_field_by_index(field, index)

def field_structure_borrow_member_field_by_index_const(field, index):
    return _native_bt.field_structure_borrow_member_field_by_index_const(field, index)

def field_structure_borrow_member_field_by_name(field, name):
    return _native_bt.field_structure_borrow_member_field_by_name(field, name)

def field_structure_borrow_member_field_by_name_const(field, name):
    return _native_bt.field_structure_borrow_member_field_by_name_const(field, name)

def field_option_set_has_field(field, has_field):
    return _native_bt.field_option_set_has_field(field, has_field)

def field_option_borrow_field(field):
    return _native_bt.field_option_borrow_field(field)

def field_option_borrow_field_const(field):
    return _native_bt.field_option_borrow_field_const(field)
FIELD_VARIANT_SELECT_OPTION_STATUS_OK = _native_bt.FIELD_VARIANT_SELECT_OPTION_STATUS_OK

def field_variant_select_option_by_index(field, index):
    return _native_bt.field_variant_select_option_by_index(field, index)

def field_variant_borrow_selected_option_field(field):
    return _native_bt.field_variant_borrow_selected_option_field(field)

def field_variant_borrow_selected_option_field_const(field):
    return _native_bt.field_variant_borrow_selected_option_field_const(field)

def field_variant_get_selected_option_index(field):
    return _native_bt.field_variant_get_selected_option_index(field)

def field_variant_borrow_selected_option_class_const(field):
    return _native_bt.field_variant_borrow_selected_option_class_const(field)

def field_variant_with_selector_field_integer_unsigned_borrow_selected_option_class_const(field):
    return _native_bt.field_variant_with_selector_field_integer_unsigned_borrow_selected_option_class_const(field)

def field_variant_with_selector_field_integer_signed_borrow_selected_option_class_const(field):
    return _native_bt.field_variant_with_selector_field_integer_signed_borrow_selected_option_class_const(field)
FIELD_LOCATION_SCOPE_PACKET_CONTEXT = _native_bt.FIELD_LOCATION_SCOPE_PACKET_CONTEXT
FIELD_LOCATION_SCOPE_EVENT_COMMON_CONTEXT = _native_bt.FIELD_LOCATION_SCOPE_EVENT_COMMON_CONTEXT
FIELD_LOCATION_SCOPE_EVENT_SPECIFIC_CONTEXT = _native_bt.FIELD_LOCATION_SCOPE_EVENT_SPECIFIC_CONTEXT
FIELD_LOCATION_SCOPE_EVENT_PAYLOAD = _native_bt.FIELD_LOCATION_SCOPE_EVENT_PAYLOAD

def field_location_create(trace_class, root_scope, items):
    return _native_bt.field_location_create(trace_class, root_scope, items)

def field_location_get_root_scope(field_location):
    return _native_bt.field_location_get_root_scope(field_location)

def field_location_get_item_count(field_location):
    return _native_bt.field_location_get_item_count(field_location)

def field_location_get_item_by_index(field_location, index):
    return _native_bt.field_location_get_item_by_index(field_location, index)

def field_location_get_ref(field_location):
    return _native_bt.field_location_get_ref(field_location)

def field_location_put_ref(field_location):
    return _native_bt.field_location_put_ref(field_location)
FIELD_PATH_SCOPE_PACKET_CONTEXT = _native_bt.FIELD_PATH_SCOPE_PACKET_CONTEXT
FIELD_PATH_SCOPE_EVENT_COMMON_CONTEXT = _native_bt.FIELD_PATH_SCOPE_EVENT_COMMON_CONTEXT
FIELD_PATH_SCOPE_EVENT_SPECIFIC_CONTEXT = _native_bt.FIELD_PATH_SCOPE_EVENT_SPECIFIC_CONTEXT
FIELD_PATH_SCOPE_EVENT_PAYLOAD = _native_bt.FIELD_PATH_SCOPE_EVENT_PAYLOAD

def field_path_get_root_scope(field_path):
    return _native_bt.field_path_get_root_scope(field_path)

def field_path_get_item_count(field_path):
    return _native_bt.field_path_get_item_count(field_path)

def field_path_borrow_item_by_index_const(field_path, index):
    return _native_bt.field_path_borrow_item_by_index_const(field_path, index)

def field_path_get_ref(field_path):
    return _native_bt.field_path_get_ref(field_path)

def field_path_put_ref(field_path):
    return _native_bt.field_path_put_ref(field_path)
FIELD_PATH_ITEM_TYPE_INDEX = _native_bt.FIELD_PATH_ITEM_TYPE_INDEX
FIELD_PATH_ITEM_TYPE_CURRENT_ARRAY_ELEMENT = _native_bt.FIELD_PATH_ITEM_TYPE_CURRENT_ARRAY_ELEMENT
FIELD_PATH_ITEM_TYPE_CURRENT_OPTION_CONTENT = _native_bt.FIELD_PATH_ITEM_TYPE_CURRENT_OPTION_CONTENT

def field_path_item_get_type(item):
    return _native_bt.field_path_item_get_type(item)

def field_path_item_index_get_index(item):
    return _native_bt.field_path_item_index_get_index(item)

def graph_create(mip_version):
    return _native_bt.graph_create(mip_version)
GRAPH_ADD_COMPONENT_STATUS_OK = _native_bt.GRAPH_ADD_COMPONENT_STATUS_OK
GRAPH_ADD_COMPONENT_STATUS_MEMORY_ERROR = _native_bt.GRAPH_ADD_COMPONENT_STATUS_MEMORY_ERROR
GRAPH_ADD_COMPONENT_STATUS_ERROR = _native_bt.GRAPH_ADD_COMPONENT_STATUS_ERROR

def graph_add_source_component(graph, component_class, name, params, logging_level):
    return _native_bt.graph_add_source_component(graph, component_class, name, params, logging_level)

def graph_add_source_component_with_initialize_method_data(graph, component_class, name, params, initialize_method_data, logging_level):
    return _native_bt.graph_add_source_component_with_initialize_method_data(graph, component_class, name, params, initialize_method_data, logging_level)

def graph_add_filter_component(graph, component_class, name, params, logging_level):
    return _native_bt.graph_add_filter_component(graph, component_class, name, params, logging_level)

def graph_add_filter_component_with_initialize_method_data(graph, component_class, name, params, initialize_method_data, logging_level):
    return _native_bt.graph_add_filter_component_with_initialize_method_data(graph, component_class, name, params, initialize_method_data, logging_level)

def graph_add_sink_component(graph, component_class, name, params, logging_level):
    return _native_bt.graph_add_sink_component(graph, component_class, name, params, logging_level)

def graph_add_sink_component_with_initialize_method_data(graph, component_class, name, params, initialize_method_data, logging_level):
    return _native_bt.graph_add_sink_component_with_initialize_method_data(graph, component_class, name, params, initialize_method_data, logging_level)
GRAPH_SIMPLE_SINK_COMPONENT_INITIALIZE_FUNC_STATUS_OK = _native_bt.GRAPH_SIMPLE_SINK_COMPONENT_INITIALIZE_FUNC_STATUS_OK
GRAPH_SIMPLE_SINK_COMPONENT_INITIALIZE_FUNC_STATUS_MEMORY_ERROR = _native_bt.GRAPH_SIMPLE_SINK_COMPONENT_INITIALIZE_FUNC_STATUS_MEMORY_ERROR
GRAPH_SIMPLE_SINK_COMPONENT_INITIALIZE_FUNC_STATUS_ERROR = _native_bt.GRAPH_SIMPLE_SINK_COMPONENT_INITIALIZE_FUNC_STATUS_ERROR
GRAPH_SIMPLE_SINK_COMPONENT_CONSUME_FUNC_STATUS_OK = _native_bt.GRAPH_SIMPLE_SINK_COMPONENT_CONSUME_FUNC_STATUS_OK
GRAPH_SIMPLE_SINK_COMPONENT_CONSUME_FUNC_STATUS_END = _native_bt.GRAPH_SIMPLE_SINK_COMPONENT_CONSUME_FUNC_STATUS_END
GRAPH_SIMPLE_SINK_COMPONENT_CONSUME_FUNC_STATUS_AGAIN = _native_bt.GRAPH_SIMPLE_SINK_COMPONENT_CONSUME_FUNC_STATUS_AGAIN
GRAPH_SIMPLE_SINK_COMPONENT_CONSUME_FUNC_STATUS_MEMORY_ERROR = _native_bt.GRAPH_SIMPLE_SINK_COMPONENT_CONSUME_FUNC_STATUS_MEMORY_ERROR
GRAPH_SIMPLE_SINK_COMPONENT_CONSUME_FUNC_STATUS_ERROR = _native_bt.GRAPH_SIMPLE_SINK_COMPONENT_CONSUME_FUNC_STATUS_ERROR

def graph_add_simple_sink_component(graph, name, initialize_func, consume_func, finalize_func, user_data):
    return _native_bt.graph_add_simple_sink_component(graph, name, initialize_func, consume_func, finalize_func, user_data)
GRAPH_CONNECT_PORTS_STATUS_OK = _native_bt.GRAPH_CONNECT_PORTS_STATUS_OK
GRAPH_CONNECT_PORTS_STATUS_MEMORY_ERROR = _native_bt.GRAPH_CONNECT_PORTS_STATUS_MEMORY_ERROR
GRAPH_CONNECT_PORTS_STATUS_ERROR = _native_bt.GRAPH_CONNECT_PORTS_STATUS_ERROR

def graph_connect_ports(graph, upstream_port, downstream_port):
    return _native_bt.graph_connect_ports(graph, upstream_port, downstream_port)
GRAPH_RUN_STATUS_OK = _native_bt.GRAPH_RUN_STATUS_OK
GRAPH_RUN_STATUS_AGAIN = _native_bt.GRAPH_RUN_STATUS_AGAIN
GRAPH_RUN_STATUS_MEMORY_ERROR = _native_bt.GRAPH_RUN_STATUS_MEMORY_ERROR
GRAPH_RUN_STATUS_ERROR = _native_bt.GRAPH_RUN_STATUS_ERROR

def graph_run(graph):
    return _native_bt.graph_run(graph)
GRAPH_RUN_ONCE_STATUS_OK = _native_bt.GRAPH_RUN_ONCE_STATUS_OK
GRAPH_RUN_ONCE_STATUS_END = _native_bt.GRAPH_RUN_ONCE_STATUS_END
GRAPH_RUN_ONCE_STATUS_AGAIN = _native_bt.GRAPH_RUN_ONCE_STATUS_AGAIN
GRAPH_RUN_ONCE_STATUS_MEMORY_ERROR = _native_bt.GRAPH_RUN_ONCE_STATUS_MEMORY_ERROR
GRAPH_RUN_ONCE_STATUS_ERROR = _native_bt.GRAPH_RUN_ONCE_STATUS_ERROR

def graph_run_once(graph):
    return _native_bt.graph_run_once(graph)
GRAPH_ADD_INTERRUPTER_STATUS_OK = _native_bt.GRAPH_ADD_INTERRUPTER_STATUS_OK
GRAPH_ADD_INTERRUPTER_STATUS_MEMORY_ERROR = _native_bt.GRAPH_ADD_INTERRUPTER_STATUS_MEMORY_ERROR

def graph_add_interrupter(graph, interrupter):
    return _native_bt.graph_add_interrupter(graph, interrupter)

def graph_borrow_default_interrupter(graph):
    return _native_bt.graph_borrow_default_interrupter(graph)
GRAPH_ADD_LISTENER_STATUS_OK = _native_bt.GRAPH_ADD_LISTENER_STATUS_OK
GRAPH_ADD_LISTENER_STATUS_MEMORY_ERROR = _native_bt.GRAPH_ADD_LISTENER_STATUS_MEMORY_ERROR
GRAPH_LISTENER_FUNC_STATUS_OK = _native_bt.GRAPH_LISTENER_FUNC_STATUS_OK
GRAPH_LISTENER_FUNC_STATUS_MEMORY_ERROR = _native_bt.GRAPH_LISTENER_FUNC_STATUS_MEMORY_ERROR
GRAPH_LISTENER_FUNC_STATUS_ERROR = _native_bt.GRAPH_LISTENER_FUNC_STATUS_ERROR

def graph_add_filter_component_input_port_added_listener(graph, user_func, user_data):
    return _native_bt.graph_add_filter_component_input_port_added_listener(graph, user_func, user_data)

def graph_add_sink_component_input_port_added_listener(graph, user_func, user_data):
    return _native_bt.graph_add_sink_component_input_port_added_listener(graph, user_func, user_data)

def graph_add_source_component_output_port_added_listener(graph, user_func, user_data):
    return _native_bt.graph_add_source_component_output_port_added_listener(graph, user_func, user_data)

def graph_add_filter_component_output_port_added_listener(graph, user_func, user_data):
    return _native_bt.graph_add_filter_component_output_port_added_listener(graph, user_func, user_data)

def graph_get_ref(graph):
    return _native_bt.graph_get_ref(graph)

def graph_put_ref(graph):
    return _native_bt.graph_put_ref(graph)

def bt2_graph_add_port_added_listener(graph, py_callable):
    return _native_bt.bt2_graph_add_port_added_listener(graph, py_callable)

def bt2_graph_add_source_component(graph, component_class, name, params, obj, log_level):
    return _native_bt.bt2_graph_add_source_component(graph, component_class, name, params, obj, log_level)

def bt2_graph_add_filter_component(graph, component_class, name, params, obj, log_level):
    return _native_bt.bt2_graph_add_filter_component(graph, component_class, name, params, obj, log_level)

def bt2_graph_add_sink_component(graph, component_class, name, params, obj, log_level):
    return _native_bt.bt2_graph_add_sink_component(graph, component_class, name, params, obj, log_level)

def integer_range_unsigned_get_lower(int_range):
    return _native_bt.integer_range_unsigned_get_lower(int_range)

def integer_range_unsigned_get_upper(int_range):
    return _native_bt.integer_range_unsigned_get_upper(int_range)

def integer_range_unsigned_is_equal(a_int_range, b_int_range):
    return _native_bt.integer_range_unsigned_is_equal(a_int_range, b_int_range)

def integer_range_signed_get_lower(int_range):
    return _native_bt.integer_range_signed_get_lower(int_range)

def integer_range_signed_get_upper(int_range):
    return _native_bt.integer_range_signed_get_upper(int_range)

def integer_range_signed_is_equal(a_int_range, b_int_range):
    return _native_bt.integer_range_signed_is_equal(a_int_range, b_int_range)
INTEGER_RANGE_SET_ADD_RANGE_STATUS_OK = _native_bt.INTEGER_RANGE_SET_ADD_RANGE_STATUS_OK
INTEGER_RANGE_SET_ADD_RANGE_STATUS_MEMORY_ERROR = _native_bt.INTEGER_RANGE_SET_ADD_RANGE_STATUS_MEMORY_ERROR

def integer_range_set_get_range_count(int_range_set):
    return _native_bt.integer_range_set_get_range_count(int_range_set)

def integer_range_set_unsigned_create():
    return _native_bt.integer_range_set_unsigned_create()

def integer_range_set_unsigned_add_range(int_range_set, lower, upper):
    return _native_bt.integer_range_set_unsigned_add_range(int_range_set, lower, upper)

def integer_range_set_unsigned_borrow_range_by_index_const(int_range_set, index):
    return _native_bt.integer_range_set_unsigned_borrow_range_by_index_const(int_range_set, index)

def integer_range_set_unsigned_is_equal(int_range_set_a, int_range_set_b):
    return _native_bt.integer_range_set_unsigned_is_equal(int_range_set_a, int_range_set_b)

def integer_range_set_unsigned_as_range_set_const(int_range_set):
    return _native_bt.integer_range_set_unsigned_as_range_set_const(int_range_set)

def integer_range_set_unsigned_get_ref(int_range_set):
    return _native_bt.integer_range_set_unsigned_get_ref(int_range_set)

def integer_range_set_unsigned_put_ref(int_range_set):
    return _native_bt.integer_range_set_unsigned_put_ref(int_range_set)

def integer_range_set_signed_create():
    return _native_bt.integer_range_set_signed_create()

def integer_range_set_signed_add_range(int_range_set, lower, upper):
    return _native_bt.integer_range_set_signed_add_range(int_range_set, lower, upper)

def integer_range_set_signed_borrow_range_by_index_const(int_range_set, index):
    return _native_bt.integer_range_set_signed_borrow_range_by_index_const(int_range_set, index)

def integer_range_set_signed_is_equal(int_range_set_a, int_range_set_b):
    return _native_bt.integer_range_set_signed_is_equal(int_range_set_a, int_range_set_b)

def integer_range_set_signed_as_range_set_const(int_range_set):
    return _native_bt.integer_range_set_signed_as_range_set_const(int_range_set)

def integer_range_set_signed_get_ref(int_range_set):
    return _native_bt.integer_range_set_signed_get_ref(int_range_set)

def integer_range_set_signed_put_ref(int_range_set):
    return _native_bt.integer_range_set_signed_put_ref(int_range_set)

def interrupter_create():
    return _native_bt.interrupter_create()

def interrupter_set(interrupter):
    return _native_bt.interrupter_set(interrupter)

def interrupter_reset(interrupter):
    return _native_bt.interrupter_reset(interrupter)

def interrupter_is_set(interrupter):
    return _native_bt.interrupter_is_set(interrupter)

def interrupter_get_ref(interrupter):
    return _native_bt.interrupter_get_ref(interrupter)

def interrupter_put_ref(interrupter):
    return _native_bt.interrupter_put_ref(interrupter)
LOGGING_LEVEL_TRACE = _native_bt.LOGGING_LEVEL_TRACE
LOGGING_LEVEL_DEBUG = _native_bt.LOGGING_LEVEL_DEBUG
LOGGING_LEVEL_INFO = _native_bt.LOGGING_LEVEL_INFO
LOGGING_LEVEL_WARNING = _native_bt.LOGGING_LEVEL_WARNING
LOGGING_LEVEL_ERROR = _native_bt.LOGGING_LEVEL_ERROR
LOGGING_LEVEL_FATAL = _native_bt.LOGGING_LEVEL_FATAL
LOGGING_LEVEL_NONE = _native_bt.LOGGING_LEVEL_NONE

def logging_set_global_level(logging_level):
    return _native_bt.logging_set_global_level(logging_level)

def logging_get_global_level():
    return _native_bt.logging_get_global_level()

def logging_get_minimal_level():
    return _native_bt.logging_get_minimal_level()
MESSAGE_TYPE_STREAM_BEGINNING = _native_bt.MESSAGE_TYPE_STREAM_BEGINNING
MESSAGE_TYPE_STREAM_END = _native_bt.MESSAGE_TYPE_STREAM_END
MESSAGE_TYPE_EVENT = _native_bt.MESSAGE_TYPE_EVENT
MESSAGE_TYPE_PACKET_BEGINNING = _native_bt.MESSAGE_TYPE_PACKET_BEGINNING
MESSAGE_TYPE_PACKET_END = _native_bt.MESSAGE_TYPE_PACKET_END
MESSAGE_TYPE_DISCARDED_EVENTS = _native_bt.MESSAGE_TYPE_DISCARDED_EVENTS
MESSAGE_TYPE_DISCARDED_PACKETS = _native_bt.MESSAGE_TYPE_DISCARDED_PACKETS
MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY = _native_bt.MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY

def message_get_type(message):
    return _native_bt.message_get_type(message)
MESSAGE_STREAM_CLOCK_SNAPSHOT_STATE_KNOWN = _native_bt.MESSAGE_STREAM_CLOCK_SNAPSHOT_STATE_KNOWN
MESSAGE_STREAM_CLOCK_SNAPSHOT_STATE_UNKNOWN = _native_bt.MESSAGE_STREAM_CLOCK_SNAPSHOT_STATE_UNKNOWN

def message_stream_beginning_create(self_message_iterator, stream):
    return _native_bt.message_stream_beginning_create(self_message_iterator, stream)

def message_stream_beginning_borrow_stream(message):
    return _native_bt.message_stream_beginning_borrow_stream(message)

def message_stream_beginning_borrow_stream_const(message):
    return _native_bt.message_stream_beginning_borrow_stream_const(message)

def message_stream_beginning_set_default_clock_snapshot(message, value):
    return _native_bt.message_stream_beginning_set_default_clock_snapshot(message, value)

def message_stream_beginning_borrow_default_clock_snapshot_const(message):
    return _native_bt.message_stream_beginning_borrow_default_clock_snapshot_const(message)

def message_stream_beginning_borrow_stream_class_default_clock_class_const(message):
    return _native_bt.message_stream_beginning_borrow_stream_class_default_clock_class_const(message)

def message_stream_end_create(self_message_iterator, stream):
    return _native_bt.message_stream_end_create(self_message_iterator, stream)

def message_stream_end_borrow_stream(message):
    return _native_bt.message_stream_end_borrow_stream(message)

def message_stream_end_borrow_stream_const(message):
    return _native_bt.message_stream_end_borrow_stream_const(message)

def message_stream_end_set_default_clock_snapshot(message, value):
    return _native_bt.message_stream_end_set_default_clock_snapshot(message, value)

def message_stream_end_borrow_default_clock_snapshot_const(message):
    return _native_bt.message_stream_end_borrow_default_clock_snapshot_const(message)

def message_stream_end_borrow_stream_class_default_clock_class_const(message):
    return _native_bt.message_stream_end_borrow_stream_class_default_clock_class_const(message)

def message_event_create(self_message_iterator, event_class, stream):
    return _native_bt.message_event_create(self_message_iterator, event_class, stream)

def message_event_create_with_default_clock_snapshot(self_message_iterator, event_class, stream, clock_snapshot_value):
    return _native_bt.message_event_create_with_default_clock_snapshot(self_message_iterator, event_class, stream, clock_snapshot_value)

def message_event_create_with_packet(self_message_iterator, event_class, packet):
    return _native_bt.message_event_create_with_packet(self_message_iterator, event_class, packet)

def message_event_create_with_packet_and_default_clock_snapshot(self_message_iterator, event_class, packet, clock_snapshot_value):
    return _native_bt.message_event_create_with_packet_and_default_clock_snapshot(self_message_iterator, event_class, packet, clock_snapshot_value)

def message_event_borrow_event(message):
    return _native_bt.message_event_borrow_event(message)

def message_event_borrow_event_const(message):
    return _native_bt.message_event_borrow_event_const(message)

def message_event_borrow_default_clock_snapshot_const(message):
    return _native_bt.message_event_borrow_default_clock_snapshot_const(message)

def message_event_borrow_stream_class_default_clock_class_const(message):
    return _native_bt.message_event_borrow_stream_class_default_clock_class_const(message)

def message_packet_beginning_create(self_message_iterator, packet):
    return _native_bt.message_packet_beginning_create(self_message_iterator, packet)

def message_packet_beginning_create_with_default_clock_snapshot(self_message_iterator, packet, clock_snapshot_value):
    return _native_bt.message_packet_beginning_create_with_default_clock_snapshot(self_message_iterator, packet, clock_snapshot_value)

def message_packet_beginning_borrow_packet(message):
    return _native_bt.message_packet_beginning_borrow_packet(message)

def message_packet_beginning_borrow_packet_const(message):
    return _native_bt.message_packet_beginning_borrow_packet_const(message)

def message_packet_beginning_borrow_default_clock_snapshot_const(message):
    return _native_bt.message_packet_beginning_borrow_default_clock_snapshot_const(message)

def message_packet_beginning_borrow_stream_class_default_clock_class_const(message):
    return _native_bt.message_packet_beginning_borrow_stream_class_default_clock_class_const(message)

def message_packet_end_create(self_message_iterator, packet):
    return _native_bt.message_packet_end_create(self_message_iterator, packet)

def message_packet_end_create_with_default_clock_snapshot(self_message_iterator, packet, clock_snapshot_value):
    return _native_bt.message_packet_end_create_with_default_clock_snapshot(self_message_iterator, packet, clock_snapshot_value)

def message_packet_end_borrow_packet(message):
    return _native_bt.message_packet_end_borrow_packet(message)

def message_packet_end_borrow_packet_const(message):
    return _native_bt.message_packet_end_borrow_packet_const(message)

def message_packet_end_borrow_default_clock_snapshot_const(message):
    return _native_bt.message_packet_end_borrow_default_clock_snapshot_const(message)

def message_packet_end_borrow_stream_class_default_clock_class_const(message):
    return _native_bt.message_packet_end_borrow_stream_class_default_clock_class_const(message)

def message_discarded_events_create(self_message_iterator, stream):
    return _native_bt.message_discarded_events_create(self_message_iterator, stream)

def message_discarded_events_create_with_default_clock_snapshots(self_message_iterator, stream, beginning_clock_snapshot_value, end_clock_snapshot_value):
    return _native_bt.message_discarded_events_create_with_default_clock_snapshots(self_message_iterator, stream, beginning_clock_snapshot_value, end_clock_snapshot_value)

def message_discarded_events_borrow_stream(message):
    return _native_bt.message_discarded_events_borrow_stream(message)

def message_discarded_events_borrow_stream_const(message):
    return _native_bt.message_discarded_events_borrow_stream_const(message)

def message_discarded_events_borrow_beginning_default_clock_snapshot_const(message):
    return _native_bt.message_discarded_events_borrow_beginning_default_clock_snapshot_const(message)

def message_discarded_events_borrow_end_default_clock_snapshot_const(message):
    return _native_bt.message_discarded_events_borrow_end_default_clock_snapshot_const(message)

def message_discarded_events_borrow_stream_class_default_clock_class_const(message):
    return _native_bt.message_discarded_events_borrow_stream_class_default_clock_class_const(message)

def message_discarded_events_set_count(message, count):
    return _native_bt.message_discarded_events_set_count(message, count)

def message_discarded_events_get_count(message):
    return _native_bt.message_discarded_events_get_count(message)

def message_discarded_packets_create(self_message_iterator, stream):
    return _native_bt.message_discarded_packets_create(self_message_iterator, stream)

def message_discarded_packets_create_with_default_clock_snapshots(self_message_iterator, stream, beginning_clock_snapshot_value, end_clock_snapshot_value):
    return _native_bt.message_discarded_packets_create_with_default_clock_snapshots(self_message_iterator, stream, beginning_clock_snapshot_value, end_clock_snapshot_value)

def message_discarded_packets_borrow_stream(message):
    return _native_bt.message_discarded_packets_borrow_stream(message)

def message_discarded_packets_borrow_stream_const(message):
    return _native_bt.message_discarded_packets_borrow_stream_const(message)

def message_discarded_packets_borrow_beginning_default_clock_snapshot_const(message):
    return _native_bt.message_discarded_packets_borrow_beginning_default_clock_snapshot_const(message)

def message_discarded_packets_borrow_end_default_clock_snapshot_const(message):
    return _native_bt.message_discarded_packets_borrow_end_default_clock_snapshot_const(message)

def message_discarded_packets_borrow_stream_class_default_clock_class_const(message):
    return _native_bt.message_discarded_packets_borrow_stream_class_default_clock_class_const(message)

def message_discarded_packets_set_count(message, count):
    return _native_bt.message_discarded_packets_set_count(message, count)

def message_discarded_packets_get_count(message):
    return _native_bt.message_discarded_packets_get_count(message)

def message_message_iterator_inactivity_create(self_message_iterator, clock_class, clock_snapshot_value):
    return _native_bt.message_message_iterator_inactivity_create(self_message_iterator, clock_class, clock_snapshot_value)

def message_message_iterator_inactivity_borrow_clock_snapshot_const(message):
    return _native_bt.message_message_iterator_inactivity_borrow_clock_snapshot_const(message)

def message_get_ref(message):
    return _native_bt.message_get_ref(message)

def message_put_ref(message):
    return _native_bt.message_put_ref(message)
GET_GREATEST_OPERATIVE_MIP_VERSION_STATUS_OK = _native_bt.GET_GREATEST_OPERATIVE_MIP_VERSION_STATUS_OK
GET_GREATEST_OPERATIVE_MIP_VERSION_STATUS_NO_MATCH = _native_bt.GET_GREATEST_OPERATIVE_MIP_VERSION_STATUS_NO_MATCH
GET_GREATEST_OPERATIVE_MIP_VERSION_STATUS_MEMORY_ERROR = _native_bt.GET_GREATEST_OPERATIVE_MIP_VERSION_STATUS_MEMORY_ERROR
GET_GREATEST_OPERATIVE_MIP_VERSION_STATUS_ERROR = _native_bt.GET_GREATEST_OPERATIVE_MIP_VERSION_STATUS_ERROR

def get_greatest_operative_mip_version(component_descriptors, logging_level):
    return _native_bt.get_greatest_operative_mip_version(component_descriptors, logging_level)

def get_greatest_operative_mip_version_with_restriction(component_descriptors, logging_level, mip_version_restriction):
    return _native_bt.get_greatest_operative_mip_version_with_restriction(component_descriptors, logging_level, mip_version_restriction)

def get_maximal_mip_version():
    return _native_bt.get_maximal_mip_version()
MESSAGE_ITERATOR_CREATE_FROM_MESSAGE_ITERATOR_STATUS_OK = _native_bt.MESSAGE_ITERATOR_CREATE_FROM_MESSAGE_ITERATOR_STATUS_OK
MESSAGE_ITERATOR_CREATE_FROM_MESSAGE_ITERATOR_STATUS_MEMORY_ERROR = _native_bt.MESSAGE_ITERATOR_CREATE_FROM_MESSAGE_ITERATOR_STATUS_MEMORY_ERROR
MESSAGE_ITERATOR_CREATE_FROM_MESSAGE_ITERATOR_STATUS_ERROR = _native_bt.MESSAGE_ITERATOR_CREATE_FROM_MESSAGE_ITERATOR_STATUS_ERROR

def message_iterator_create_from_message_iterator(self_message_iterator, port):
    return _native_bt.message_iterator_create_from_message_iterator(self_message_iterator, port)
MESSAGE_ITERATOR_CREATE_FROM_SINK_COMPONENT_STATUS_OK = _native_bt.MESSAGE_ITERATOR_CREATE_FROM_SINK_COMPONENT_STATUS_OK
MESSAGE_ITERATOR_CREATE_FROM_SINK_COMPONENT_STATUS_MEMORY_ERROR = _native_bt.MESSAGE_ITERATOR_CREATE_FROM_SINK_COMPONENT_STATUS_MEMORY_ERROR
MESSAGE_ITERATOR_CREATE_FROM_SINK_COMPONENT_STATUS_ERROR = _native_bt.MESSAGE_ITERATOR_CREATE_FROM_SINK_COMPONENT_STATUS_ERROR

def message_iterator_create_from_sink_component(self_component_sink, port):
    return _native_bt.message_iterator_create_from_sink_component(self_component_sink, port)

def message_iterator_borrow_component(message_iterator):
    return _native_bt.message_iterator_borrow_component(message_iterator)
MESSAGE_ITERATOR_NEXT_STATUS_OK = _native_bt.MESSAGE_ITERATOR_NEXT_STATUS_OK
MESSAGE_ITERATOR_NEXT_STATUS_END = _native_bt.MESSAGE_ITERATOR_NEXT_STATUS_END
MESSAGE_ITERATOR_NEXT_STATUS_AGAIN = _native_bt.MESSAGE_ITERATOR_NEXT_STATUS_AGAIN
MESSAGE_ITERATOR_NEXT_STATUS_MEMORY_ERROR = _native_bt.MESSAGE_ITERATOR_NEXT_STATUS_MEMORY_ERROR
MESSAGE_ITERATOR_NEXT_STATUS_ERROR = _native_bt.MESSAGE_ITERATOR_NEXT_STATUS_ERROR

def message_iterator_next(message_iterator, messages):
    return _native_bt.message_iterator_next(message_iterator, messages)
MESSAGE_ITERATOR_CAN_SEEK_BEGINNING_STATUS_OK = _native_bt.MESSAGE_ITERATOR_CAN_SEEK_BEGINNING_STATUS_OK
MESSAGE_ITERATOR_CAN_SEEK_BEGINNING_STATUS_AGAIN = _native_bt.MESSAGE_ITERATOR_CAN_SEEK_BEGINNING_STATUS_AGAIN
MESSAGE_ITERATOR_CAN_SEEK_BEGINNING_STATUS_MEMORY_ERROR = _native_bt.MESSAGE_ITERATOR_CAN_SEEK_BEGINNING_STATUS_MEMORY_ERROR
MESSAGE_ITERATOR_CAN_SEEK_BEGINNING_STATUS_ERROR = _native_bt.MESSAGE_ITERATOR_CAN_SEEK_BEGINNING_STATUS_ERROR

def message_iterator_can_seek_beginning(message_iterator):
    return _native_bt.message_iterator_can_seek_beginning(message_iterator)
MESSAGE_ITERATOR_SEEK_BEGINNING_STATUS_OK = _native_bt.MESSAGE_ITERATOR_SEEK_BEGINNING_STATUS_OK
MESSAGE_ITERATOR_SEEK_BEGINNING_STATUS_AGAIN = _native_bt.MESSAGE_ITERATOR_SEEK_BEGINNING_STATUS_AGAIN
MESSAGE_ITERATOR_SEEK_BEGINNING_STATUS_MEMORY_ERROR = _native_bt.MESSAGE_ITERATOR_SEEK_BEGINNING_STATUS_MEMORY_ERROR
MESSAGE_ITERATOR_SEEK_BEGINNING_STATUS_ERROR = _native_bt.MESSAGE_ITERATOR_SEEK_BEGINNING_STATUS_ERROR

def message_iterator_seek_beginning(message_iterator):
    return _native_bt.message_iterator_seek_beginning(message_iterator)
MESSAGE_ITERATOR_CAN_SEEK_NS_FROM_ORIGIN_STATUS_OK = _native_bt.MESSAGE_ITERATOR_CAN_SEEK_NS_FROM_ORIGIN_STATUS_OK
MESSAGE_ITERATOR_CAN_SEEK_NS_FROM_ORIGIN_STATUS_AGAIN = _native_bt.MESSAGE_ITERATOR_CAN_SEEK_NS_FROM_ORIGIN_STATUS_AGAIN
MESSAGE_ITERATOR_CAN_SEEK_NS_FROM_ORIGIN_STATUS_MEMORY_ERROR = _native_bt.MESSAGE_ITERATOR_CAN_SEEK_NS_FROM_ORIGIN_STATUS_MEMORY_ERROR
MESSAGE_ITERATOR_CAN_SEEK_NS_FROM_ORIGIN_STATUS_ERROR = _native_bt.MESSAGE_ITERATOR_CAN_SEEK_NS_FROM_ORIGIN_STATUS_ERROR

def message_iterator_can_seek_ns_from_origin(message_iterator, ns_from_origin):
    return _native_bt.message_iterator_can_seek_ns_from_origin(message_iterator, ns_from_origin)
MESSAGE_ITERATOR_SEEK_NS_FROM_ORIGIN_STATUS_OK = _native_bt.MESSAGE_ITERATOR_SEEK_NS_FROM_ORIGIN_STATUS_OK
MESSAGE_ITERATOR_SEEK_NS_FROM_ORIGIN_STATUS_AGAIN = _native_bt.MESSAGE_ITERATOR_SEEK_NS_FROM_ORIGIN_STATUS_AGAIN
MESSAGE_ITERATOR_SEEK_NS_FROM_ORIGIN_STATUS_MEMORY_ERROR = _native_bt.MESSAGE_ITERATOR_SEEK_NS_FROM_ORIGIN_STATUS_MEMORY_ERROR
MESSAGE_ITERATOR_SEEK_NS_FROM_ORIGIN_STATUS_ERROR = _native_bt.MESSAGE_ITERATOR_SEEK_NS_FROM_ORIGIN_STATUS_ERROR

def message_iterator_seek_ns_from_origin(message_iterator, ns_from_origin):
    return _native_bt.message_iterator_seek_ns_from_origin(message_iterator, ns_from_origin)

def message_iterator_can_seek_forward(message_iterator):
    return _native_bt.message_iterator_can_seek_forward(message_iterator)

def message_iterator_get_ref(message_iterator):
    return _native_bt.message_iterator_get_ref(message_iterator)

def message_iterator_put_ref(message_iterator):
    return _native_bt.message_iterator_put_ref(message_iterator)

def self_message_iterator_borrow_component(self_message_iterator):
    return _native_bt.self_message_iterator_borrow_component(self_message_iterator)

def self_message_iterator_borrow_port(self_message_iterator):
    return _native_bt.self_message_iterator_borrow_port(self_message_iterator)

def self_message_iterator_set_data(self_message_iterator, user_data):
    return _native_bt.self_message_iterator_set_data(self_message_iterator, user_data)

def self_message_iterator_get_data(self_message_iterator):
    return _native_bt.self_message_iterator_get_data(self_message_iterator)

def self_message_iterator_is_interrupted(self_message_iterator):
    return _native_bt.self_message_iterator_is_interrupted(self_message_iterator)

def self_message_iterator_configuration_set_can_seek_forward(configuration, can_seek_forward):
    return _native_bt.self_message_iterator_configuration_set_can_seek_forward(configuration, can_seek_forward)

def self_message_iterator_get_graph_mip_version(self_message_iterator):
    return _native_bt.self_message_iterator_get_graph_mip_version(self_message_iterator)

def bt2_message_iterator_create_from_message_iterator(self_msg_iter, input_port):
    return _native_bt.bt2_message_iterator_create_from_message_iterator(self_msg_iter, input_port)

def bt2_message_iterator_create_from_sink_component(self_comp, input_port):
    return _native_bt.bt2_message_iterator_create_from_sink_component(self_comp, input_port)

def bt2_get_user_component_from_user_msg_iter(self_message_iterator):
    return _native_bt.bt2_get_user_component_from_user_msg_iter(self_message_iterator)

def bt2_self_component_port_input_get_msg_range(iter):
    return _native_bt.bt2_self_component_port_input_get_msg_range(iter)

def component_descriptor_set_create():
    return _native_bt.component_descriptor_set_create()
COMPONENT_DESCRIPTOR_SET_ADD_DESCRIPTOR_STATUS_OK = _native_bt.COMPONENT_DESCRIPTOR_SET_ADD_DESCRIPTOR_STATUS_OK
COMPONENT_DESCRIPTOR_SET_ADD_DESCRIPTOR_STATUS_MEMORY_ERROR = _native_bt.COMPONENT_DESCRIPTOR_SET_ADD_DESCRIPTOR_STATUS_MEMORY_ERROR

def component_descriptor_set_add_descriptor(component_descriptor_set, component_class, params):
    return _native_bt.component_descriptor_set_add_descriptor(component_descriptor_set, component_class, params)

def component_descriptor_set_add_descriptor_with_initialize_method_data(component_descriptor_set, component_class, params, initialize_method_data):
    return _native_bt.component_descriptor_set_add_descriptor_with_initialize_method_data(component_descriptor_set, component_class, params, initialize_method_data)

def component_descriptor_set_get_ref(component_descriptor_set):
    return _native_bt.component_descriptor_set_get_ref(component_descriptor_set)

def component_descriptor_set_put_ref(component_descriptor_set):
    return _native_bt.component_descriptor_set_put_ref(component_descriptor_set)

def bt2_component_descriptor_set_add_descriptor_with_initialize_method_data(comp_descr_set, comp_cls, params, init_method_data):
    return _native_bt.bt2_component_descriptor_set_add_descriptor_with_initialize_method_data(comp_descr_set, comp_cls, params, init_method_data)

def packet_create(stream):
    return _native_bt.packet_create(stream)

def packet_borrow_stream(packet):
    return _native_bt.packet_borrow_stream(packet)

def packet_borrow_stream_const(packet):
    return _native_bt.packet_borrow_stream_const(packet)

def packet_borrow_context_field(packet):
    return _native_bt.packet_borrow_context_field(packet)

def packet_borrow_context_field_const(packet):
    return _native_bt.packet_borrow_context_field_const(packet)

def packet_get_ref(packet):
    return _native_bt.packet_get_ref(packet)

def packet_put_ref(packet):
    return _native_bt.packet_put_ref(packet)
PLUGIN_FIND_STATUS_OK = _native_bt.PLUGIN_FIND_STATUS_OK
PLUGIN_FIND_STATUS_NOT_FOUND = _native_bt.PLUGIN_FIND_STATUS_NOT_FOUND
PLUGIN_FIND_STATUS_MEMORY_ERROR = _native_bt.PLUGIN_FIND_STATUS_MEMORY_ERROR
PLUGIN_FIND_STATUS_ERROR = _native_bt.PLUGIN_FIND_STATUS_ERROR

def plugin_find(plugin_name, find_in_std_env_var, find_in_user_dir, find_in_sys_dir, find_in_static, fail_on_load_error):
    return _native_bt.plugin_find(plugin_name, find_in_std_env_var, find_in_user_dir, find_in_sys_dir, find_in_static, fail_on_load_error)
PLUGIN_FIND_ALL_STATUS_OK = _native_bt.PLUGIN_FIND_ALL_STATUS_OK
PLUGIN_FIND_ALL_STATUS_NOT_FOUND = _native_bt.PLUGIN_FIND_ALL_STATUS_NOT_FOUND
PLUGIN_FIND_ALL_STATUS_MEMORY_ERROR = _native_bt.PLUGIN_FIND_ALL_STATUS_MEMORY_ERROR
PLUGIN_FIND_ALL_STATUS_ERROR = _native_bt.PLUGIN_FIND_ALL_STATUS_ERROR

def plugin_find_all(find_in_std_env_var, find_in_user_dir, find_in_sys_dir, find_in_static, fail_on_load_error):
    return _native_bt.plugin_find_all(find_in_std_env_var, find_in_user_dir, find_in_sys_dir, find_in_static, fail_on_load_error)
PLUGIN_FIND_ALL_FROM_FILE_STATUS_OK = _native_bt.PLUGIN_FIND_ALL_FROM_FILE_STATUS_OK
PLUGIN_FIND_ALL_FROM_FILE_STATUS_NOT_FOUND = _native_bt.PLUGIN_FIND_ALL_FROM_FILE_STATUS_NOT_FOUND
PLUGIN_FIND_ALL_FROM_FILE_STATUS_MEMORY_ERROR = _native_bt.PLUGIN_FIND_ALL_FROM_FILE_STATUS_MEMORY_ERROR
PLUGIN_FIND_ALL_FROM_FILE_STATUS_ERROR = _native_bt.PLUGIN_FIND_ALL_FROM_FILE_STATUS_ERROR

def plugin_find_all_from_file(path, fail_on_load_error):
    return _native_bt.plugin_find_all_from_file(path, fail_on_load_error)
PLUGIN_FIND_ALL_FROM_DIR_STATUS_OK = _native_bt.PLUGIN_FIND_ALL_FROM_DIR_STATUS_OK
PLUGIN_FIND_ALL_FROM_DIR_STATUS_NOT_FOUND = _native_bt.PLUGIN_FIND_ALL_FROM_DIR_STATUS_NOT_FOUND
PLUGIN_FIND_ALL_FROM_DIR_STATUS_MEMORY_ERROR = _native_bt.PLUGIN_FIND_ALL_FROM_DIR_STATUS_MEMORY_ERROR
PLUGIN_FIND_ALL_FROM_DIR_STATUS_ERROR = _native_bt.PLUGIN_FIND_ALL_FROM_DIR_STATUS_ERROR

def plugin_find_all_from_dir(path, recurse, fail_on_load_error):
    return _native_bt.plugin_find_all_from_dir(path, recurse, fail_on_load_error)
PLUGIN_FIND_ALL_FROM_STATIC_STATUS_OK = _native_bt.PLUGIN_FIND_ALL_FROM_STATIC_STATUS_OK
PLUGIN_FIND_ALL_FROM_STATIC_STATUS_NOT_FOUND = _native_bt.PLUGIN_FIND_ALL_FROM_STATIC_STATUS_NOT_FOUND
PLUGIN_FIND_ALL_FROM_STATIC_STATUS_MEMORY_ERROR = _native_bt.PLUGIN_FIND_ALL_FROM_STATIC_STATUS_MEMORY_ERROR
PLUGIN_FIND_ALL_FROM_STATIC_STATUS_ERROR = _native_bt.PLUGIN_FIND_ALL_FROM_STATIC_STATUS_ERROR

def plugin_find_all_from_static(fail_on_load_error):
    return _native_bt.plugin_find_all_from_static(fail_on_load_error)

def plugin_get_name(plugin):
    return _native_bt.plugin_get_name(plugin)

def plugin_get_description(plugin):
    return _native_bt.plugin_get_description(plugin)

def plugin_get_author(plugin):
    return _native_bt.plugin_get_author(plugin)

def plugin_get_license(plugin):
    return _native_bt.plugin_get_license(plugin)

def plugin_get_path(plugin):
    return _native_bt.plugin_get_path(plugin)

def plugin_get_version(plugin):
    return _native_bt.plugin_get_version(plugin)

def plugin_get_source_component_class_count(plugin):
    return _native_bt.plugin_get_source_component_class_count(plugin)

def plugin_get_filter_component_class_count(plugin):
    return _native_bt.plugin_get_filter_component_class_count(plugin)

def plugin_get_sink_component_class_count(plugin):
    return _native_bt.plugin_get_sink_component_class_count(plugin)

def plugin_borrow_source_component_class_by_index_const(plugin, index):
    return _native_bt.plugin_borrow_source_component_class_by_index_const(plugin, index)

def plugin_borrow_filter_component_class_by_index_const(plugin, index):
    return _native_bt.plugin_borrow_filter_component_class_by_index_const(plugin, index)

def plugin_borrow_sink_component_class_by_index_const(plugin, index):
    return _native_bt.plugin_borrow_sink_component_class_by_index_const(plugin, index)

def plugin_borrow_source_component_class_by_name_const(plugin, name):
    return _native_bt.plugin_borrow_source_component_class_by_name_const(plugin, name)

def plugin_borrow_filter_component_class_by_name_const(plugin, name):
    return _native_bt.plugin_borrow_filter_component_class_by_name_const(plugin, name)

def plugin_borrow_sink_component_class_by_name_const(plugin, name):
    return _native_bt.plugin_borrow_sink_component_class_by_name_const(plugin, name)

def plugin_get_ref(plugin):
    return _native_bt.plugin_get_ref(plugin)

def plugin_put_ref(plugin):
    return _native_bt.plugin_put_ref(plugin)

def plugin_set_get_plugin_count(plugin_set):
    return _native_bt.plugin_set_get_plugin_count(plugin_set)

def plugin_set_borrow_plugin_by_index_const(plugin_set, index):
    return _native_bt.plugin_set_borrow_plugin_by_index_const(plugin_set, index)

def plugin_set_get_ref(plugin_set):
    return _native_bt.plugin_set_get_ref(plugin_set)

def plugin_set_put_ref(plugin_set):
    return _native_bt.plugin_set_put_ref(plugin_set)

def bt2_plugin_get_version(plugin):
    return _native_bt.bt2_plugin_get_version(plugin)

def bt2_plugin_find(plugin_name, find_in_std_env_var, find_in_user_dir, find_in_sys_dir, find_in_static, fail_on_load_error):
    return _native_bt.bt2_plugin_find(plugin_name, find_in_std_env_var, find_in_user_dir, find_in_sys_dir, find_in_static, fail_on_load_error)

def bt2_plugin_find_all(find_in_std_env_var, find_in_user_dir, find_in_sys_dir, find_in_static, fail_on_load_error):
    return _native_bt.bt2_plugin_find_all(find_in_std_env_var, find_in_user_dir, find_in_sys_dir, find_in_static, fail_on_load_error)

def bt2_plugin_find_all_from_file(path, fail_on_load_error):
    return _native_bt.bt2_plugin_find_all_from_file(path, fail_on_load_error)

def bt2_plugin_find_all_from_dir(path, recurse, fail_on_load_error):
    return _native_bt.bt2_plugin_find_all_from_dir(path, recurse, fail_on_load_error)
PORT_TYPE_INPUT = _native_bt.PORT_TYPE_INPUT
PORT_TYPE_OUTPUT = _native_bt.PORT_TYPE_OUTPUT

def port_get_type(port):
    return _native_bt.port_get_type(port)

def port_is_input(port):
    return _native_bt.port_is_input(port)

def port_is_output(port):
    return _native_bt.port_is_output(port)

def port_borrow_connection_const(port):
    return _native_bt.port_borrow_connection_const(port)

def port_borrow_component_const(port):
    return _native_bt.port_borrow_component_const(port)

def port_get_name(port):
    return _native_bt.port_get_name(port)

def port_is_connected(port):
    return _native_bt.port_is_connected(port)

def port_get_ref(port):
    return _native_bt.port_get_ref(port)

def port_put_ref(port):
    return _native_bt.port_put_ref(port)

def port_input_as_port_const(port):
    return _native_bt.port_input_as_port_const(port)

def port_input_get_ref(port):
    return _native_bt.port_input_get_ref(port)

def port_input_put_ref(port):
    return _native_bt.port_input_put_ref(port)

def port_output_as_port_const(port):
    return _native_bt.port_output_as_port_const(port)

def port_output_get_ref(port):
    return _native_bt.port_output_get_ref(port)

def port_output_put_ref(port):
    return _native_bt.port_output_put_ref(port)

def self_component_port_borrow_component(self_component_port):
    return _native_bt.self_component_port_borrow_component(self_component_port)

def self_component_port_get_data(self_component_port):
    return _native_bt.self_component_port_get_data(self_component_port)

def self_component_port_as_port(self_component_port):
    return _native_bt.self_component_port_as_port(self_component_port)

def self_component_port_input_as_port_input(self_component_port):
    return _native_bt.self_component_port_input_as_port_input(self_component_port)

def self_component_port_output_as_port_output(self_component_port):
    return _native_bt.self_component_port_output_as_port_output(self_component_port)

def self_component_port_input_as_self_component_port(self_component_port):
    return _native_bt.self_component_port_input_as_self_component_port(self_component_port)

def self_component_port_output_as_self_component_port(self_component_port):
    return _native_bt.self_component_port_output_as_self_component_port(self_component_port)

def private_query_executor_as_query_executor_const(query_executor):
    return _native_bt.private_query_executor_as_query_executor_const(query_executor)

def query_executor_create(component_class, object_name, params):
    return _native_bt.query_executor_create(component_class, object_name, params)

def query_executor_create_with_method_data(component_class, object_name, params, method_data):
    return _native_bt.query_executor_create_with_method_data(component_class, object_name, params, method_data)
QUERY_EXECUTOR_QUERY_STATUS_OK = _native_bt.QUERY_EXECUTOR_QUERY_STATUS_OK
QUERY_EXECUTOR_QUERY_STATUS_UNKNOWN_OBJECT = _native_bt.QUERY_EXECUTOR_QUERY_STATUS_UNKNOWN_OBJECT
QUERY_EXECUTOR_QUERY_STATUS_AGAIN = _native_bt.QUERY_EXECUTOR_QUERY_STATUS_AGAIN
QUERY_EXECUTOR_QUERY_STATUS_MEMORY_ERROR = _native_bt.QUERY_EXECUTOR_QUERY_STATUS_MEMORY_ERROR
QUERY_EXECUTOR_QUERY_STATUS_ERROR = _native_bt.QUERY_EXECUTOR_QUERY_STATUS_ERROR

def query_executor_query(query_executor):
    return _native_bt.query_executor_query(query_executor)
QUERY_EXECUTOR_SET_LOGGING_LEVEL_STATUS_OK = _native_bt.QUERY_EXECUTOR_SET_LOGGING_LEVEL_STATUS_OK

def query_executor_set_logging_level(query_executor, logging_level):
    return _native_bt.query_executor_set_logging_level(query_executor, logging_level)

def query_executor_get_logging_level(query_executor):
    return _native_bt.query_executor_get_logging_level(query_executor)
QUERY_EXECUTOR_ADD_INTERRUPTER_STATUS_OK = _native_bt.QUERY_EXECUTOR_ADD_INTERRUPTER_STATUS_OK
QUERY_EXECUTOR_ADD_INTERRUPTER_STATUS_MEMORY_ERROR = _native_bt.QUERY_EXECUTOR_ADD_INTERRUPTER_STATUS_MEMORY_ERROR

def query_executor_add_interrupter(query_executor, interrupter):
    return _native_bt.query_executor_add_interrupter(query_executor, interrupter)

def query_executor_borrow_default_interrupter(query_executor):
    return _native_bt.query_executor_borrow_default_interrupter(query_executor)

def query_executor_is_interrupted(query_executor):
    return _native_bt.query_executor_is_interrupted(query_executor)

def query_executor_get_ref(query_executor):
    return _native_bt.query_executor_get_ref(query_executor)

def query_executor_put_ref(query_executor):
    return _native_bt.query_executor_put_ref(query_executor)

def bt2_query_executor_create(component_class, object, params, py_obj):
    return _native_bt.bt2_query_executor_create(component_class, object, params, py_obj)

def stream_create(stream_class, trace):
    return _native_bt.stream_create(stream_class, trace)

def stream_create_with_id(stream_class, trace, id):
    return _native_bt.stream_create_with_id(stream_class, trace, id)

def stream_borrow_class(stream):
    return _native_bt.stream_borrow_class(stream)

def stream_borrow_class_const(stream):
    return _native_bt.stream_borrow_class_const(stream)

def stream_borrow_trace(stream):
    return _native_bt.stream_borrow_trace(stream)

def stream_borrow_trace_const(stream):
    return _native_bt.stream_borrow_trace_const(stream)

def stream_get_id(stream):
    return _native_bt.stream_get_id(stream)
STREAM_SET_NAME_STATUS_OK = _native_bt.STREAM_SET_NAME_STATUS_OK
STREAM_SET_NAME_STATUS_MEMORY_ERROR = _native_bt.STREAM_SET_NAME_STATUS_MEMORY_ERROR

def stream_set_name(stream, name):
    return _native_bt.stream_set_name(stream, name)

def stream_get_name(stream):
    return _native_bt.stream_get_name(stream)

def stream_set_user_attributes(stream, user_attributes):
    return _native_bt.stream_set_user_attributes(stream, user_attributes)

def stream_borrow_user_attributes(stream):
    return _native_bt.stream_borrow_user_attributes(stream)

def stream_borrow_user_attributes_const(stream):
    return _native_bt.stream_borrow_user_attributes_const(stream)

def stream_get_ref(stream):
    return _native_bt.stream_get_ref(stream)

def stream_put_ref(stream):
    return _native_bt.stream_put_ref(stream)

def stream_class_create(trace_class):
    return _native_bt.stream_class_create(trace_class)

def stream_class_create_with_id(trace_class, id):
    return _native_bt.stream_class_create_with_id(trace_class, id)

def stream_class_borrow_trace_class(stream_class):
    return _native_bt.stream_class_borrow_trace_class(stream_class)

def stream_class_borrow_trace_class_const(stream_class):
    return _native_bt.stream_class_borrow_trace_class_const(stream_class)

def stream_class_get_event_class_count(stream_class):
    return _native_bt.stream_class_get_event_class_count(stream_class)

def stream_class_borrow_event_class_by_index(stream_class, index):
    return _native_bt.stream_class_borrow_event_class_by_index(stream_class, index)

def stream_class_borrow_event_class_by_index_const(stream_class, index):
    return _native_bt.stream_class_borrow_event_class_by_index_const(stream_class, index)

def stream_class_borrow_event_class_by_id(stream_class, id):
    return _native_bt.stream_class_borrow_event_class_by_id(stream_class, id)

def stream_class_borrow_event_class_by_id_const(stream_class, id):
    return _native_bt.stream_class_borrow_event_class_by_id_const(stream_class, id)

def stream_class_get_id(stream_class):
    return _native_bt.stream_class_get_id(stream_class)
STREAM_CLASS_SET_NAMESPACE_STATUS_OK = _native_bt.STREAM_CLASS_SET_NAMESPACE_STATUS_OK
STREAM_CLASS_SET_NAMESPACE_STATUS_MEMORY_ERROR = _native_bt.STREAM_CLASS_SET_NAMESPACE_STATUS_MEMORY_ERROR

def stream_class_set_namespace(stream_class, ns):
    return _native_bt.stream_class_set_namespace(stream_class, ns)

def stream_class_get_namespace(stream_class):
    return _native_bt.stream_class_get_namespace(stream_class)
STREAM_CLASS_SET_NAME_STATUS_OK = _native_bt.STREAM_CLASS_SET_NAME_STATUS_OK
STREAM_CLASS_SET_NAME_STATUS_MEMORY_ERROR = _native_bt.STREAM_CLASS_SET_NAME_STATUS_MEMORY_ERROR

def stream_class_set_name(stream_class, name):
    return _native_bt.stream_class_set_name(stream_class, name)

def stream_class_get_name(stream_class):
    return _native_bt.stream_class_get_name(stream_class)
STREAM_CLASS_SET_UID_STATUS_OK = _native_bt.STREAM_CLASS_SET_UID_STATUS_OK
STREAM_CLASS_SET_UID_STATUS_MEMORY_ERROR = _native_bt.STREAM_CLASS_SET_UID_STATUS_MEMORY_ERROR

def stream_class_set_uid(stream_class, uid):
    return _native_bt.stream_class_set_uid(stream_class, uid)

def stream_class_get_uid(stream_class):
    return _native_bt.stream_class_get_uid(stream_class)
STREAM_CLASS_SET_DEFAULT_CLOCK_CLASS_STATUS_OK = _native_bt.STREAM_CLASS_SET_DEFAULT_CLOCK_CLASS_STATUS_OK

def stream_class_set_default_clock_class(stream_class, clock_class):
    return _native_bt.stream_class_set_default_clock_class(stream_class, clock_class)

def stream_class_borrow_default_clock_class(stream_class):
    return _native_bt.stream_class_borrow_default_clock_class(stream_class)

def stream_class_borrow_default_clock_class_const(stream_class):
    return _native_bt.stream_class_borrow_default_clock_class_const(stream_class)
STREAM_CLASS_SET_FIELD_CLASS_STATUS_OK = _native_bt.STREAM_CLASS_SET_FIELD_CLASS_STATUS_OK
STREAM_CLASS_SET_FIELD_CLASS_STATUS_MEMORY_ERROR = _native_bt.STREAM_CLASS_SET_FIELD_CLASS_STATUS_MEMORY_ERROR

def stream_class_set_packet_context_field_class(stream_class, field_class):
    return _native_bt.stream_class_set_packet_context_field_class(stream_class, field_class)

def stream_class_borrow_packet_context_field_class(stream_class):
    return _native_bt.stream_class_borrow_packet_context_field_class(stream_class)

def stream_class_borrow_packet_context_field_class_const(stream_class):
    return _native_bt.stream_class_borrow_packet_context_field_class_const(stream_class)

def stream_class_set_event_common_context_field_class(stream_class, field_class):
    return _native_bt.stream_class_set_event_common_context_field_class(stream_class, field_class)

def stream_class_borrow_event_common_context_field_class(stream_class):
    return _native_bt.stream_class_borrow_event_common_context_field_class(stream_class)

def stream_class_borrow_event_common_context_field_class_const(stream_class):
    return _native_bt.stream_class_borrow_event_common_context_field_class_const(stream_class)

def stream_class_set_assigns_automatic_event_class_id(stream_class, assigns_automatic_event_class_id):
    return _native_bt.stream_class_set_assigns_automatic_event_class_id(stream_class, assigns_automatic_event_class_id)

def stream_class_assigns_automatic_event_class_id(stream_class):
    return _native_bt.stream_class_assigns_automatic_event_class_id(stream_class)

def stream_class_set_assigns_automatic_stream_id(stream_class, assigns_automatic_stream_id):
    return _native_bt.stream_class_set_assigns_automatic_stream_id(stream_class, assigns_automatic_stream_id)

def stream_class_assigns_automatic_stream_id(stream_class):
    return _native_bt.stream_class_assigns_automatic_stream_id(stream_class)

def stream_class_set_supports_packets(stream_class, supports_packets, with_beginning_default_clock_snapshot, with_end_default_clock_snapshot):
    return _native_bt.stream_class_set_supports_packets(stream_class, supports_packets, with_beginning_default_clock_snapshot, with_end_default_clock_snapshot)

def stream_class_supports_packets(stream_class):
    return _native_bt.stream_class_supports_packets(stream_class)

def stream_class_packets_have_beginning_default_clock_snapshot(stream_class):
    return _native_bt.stream_class_packets_have_beginning_default_clock_snapshot(stream_class)

def stream_class_packets_have_end_default_clock_snapshot(stream_class):
    return _native_bt.stream_class_packets_have_end_default_clock_snapshot(stream_class)

def stream_class_set_supports_discarded_events(stream_class, supports_discarded_events, with_default_clock_snapshots):
    return _native_bt.stream_class_set_supports_discarded_events(stream_class, supports_discarded_events, with_default_clock_snapshots)

def stream_class_supports_discarded_events(stream_class):
    return _native_bt.stream_class_supports_discarded_events(stream_class)

def stream_class_discarded_events_have_default_clock_snapshots(stream_class):
    return _native_bt.stream_class_discarded_events_have_default_clock_snapshots(stream_class)

def stream_class_set_supports_discarded_packets(stream_class, supports_discarded_packets, with_default_clock_snapshots):
    return _native_bt.stream_class_set_supports_discarded_packets(stream_class, supports_discarded_packets, with_default_clock_snapshots)

def stream_class_supports_discarded_packets(stream_class):
    return _native_bt.stream_class_supports_discarded_packets(stream_class)

def stream_class_discarded_packets_have_default_clock_snapshots(stream_class):
    return _native_bt.stream_class_discarded_packets_have_default_clock_snapshots(stream_class)

def stream_class_set_user_attributes(stream_class, user_attributes):
    return _native_bt.stream_class_set_user_attributes(stream_class, user_attributes)

def stream_class_borrow_user_attributes(stream_class):
    return _native_bt.stream_class_borrow_user_attributes(stream_class)

def stream_class_borrow_user_attributes_const(stream_class):
    return _native_bt.stream_class_borrow_user_attributes_const(stream_class)

def stream_class_get_ref(stream_class):
    return _native_bt.stream_class_get_ref(stream_class)

def stream_class_put_ref(stream_class):
    return _native_bt.stream_class_put_ref(stream_class)

def trace_create(trace_class):
    return _native_bt.trace_create(trace_class)

def trace_borrow_class(trace):
    return _native_bt.trace_borrow_class(trace)

def trace_borrow_class_const(trace):
    return _native_bt.trace_borrow_class_const(trace)

def trace_get_stream_count(trace):
    return _native_bt.trace_get_stream_count(trace)

def trace_borrow_stream_by_index(trace, index):
    return _native_bt.trace_borrow_stream_by_index(trace, index)

def trace_borrow_stream_by_index_const(trace, index):
    return _native_bt.trace_borrow_stream_by_index_const(trace, index)

def trace_borrow_stream_by_id(trace, id):
    return _native_bt.trace_borrow_stream_by_id(trace, id)

def trace_borrow_stream_by_id_const(trace, id):
    return _native_bt.trace_borrow_stream_by_id_const(trace, id)
TRACE_SET_NAMESPACE_STATUS_OK = _native_bt.TRACE_SET_NAMESPACE_STATUS_OK
TRACE_SET_NAMESPACE_STATUS_MEMORY_ERROR = _native_bt.TRACE_SET_NAMESPACE_STATUS_MEMORY_ERROR

def trace_set_namespace(trace, ns):
    return _native_bt.trace_set_namespace(trace, ns)

def trace_get_namespace(trace):
    return _native_bt.trace_get_namespace(trace)
TRACE_SET_NAME_STATUS_OK = _native_bt.TRACE_SET_NAME_STATUS_OK
TRACE_SET_NAME_STATUS_MEMORY_ERROR = _native_bt.TRACE_SET_NAME_STATUS_MEMORY_ERROR

def trace_set_name(trace, name):
    return _native_bt.trace_set_name(trace, name)

def trace_get_name(trace):
    return _native_bt.trace_get_name(trace)

def trace_set_uuid(trace, uuid):
    return _native_bt.trace_set_uuid(trace, uuid)

def trace_get_uuid(trace):
    return _native_bt.trace_get_uuid(trace)
TRACE_SET_UID_STATUS_OK = _native_bt.TRACE_SET_UID_STATUS_OK
TRACE_SET_UID_STATUS_MEMORY_ERROR = _native_bt.TRACE_SET_UID_STATUS_MEMORY_ERROR

def trace_set_uid(trace, uid):
    return _native_bt.trace_set_uid(trace, uid)

def trace_get_uid(trace):
    return _native_bt.trace_get_uid(trace)
TRACE_SET_ENVIRONMENT_ENTRY_STATUS_OK = _native_bt.TRACE_SET_ENVIRONMENT_ENTRY_STATUS_OK
TRACE_SET_ENVIRONMENT_ENTRY_STATUS_MEMORY_ERROR = _native_bt.TRACE_SET_ENVIRONMENT_ENTRY_STATUS_MEMORY_ERROR

def trace_set_environment_entry_integer(trace, name, value):
    return _native_bt.trace_set_environment_entry_integer(trace, name, value)

def trace_set_environment_entry_string(trace, name, value):
    return _native_bt.trace_set_environment_entry_string(trace, name, value)

def trace_get_environment_entry_count(trace):
    return _native_bt.trace_get_environment_entry_count(trace)

def trace_borrow_environment_entry_by_index_const(trace, index):
    return _native_bt.trace_borrow_environment_entry_by_index_const(trace, index)

def trace_borrow_environment_entry_value_by_name_const(trace, name):
    return _native_bt.trace_borrow_environment_entry_value_by_name_const(trace, name)

def trace_set_user_attributes(trace, user_attributes):
    return _native_bt.trace_set_user_attributes(trace, user_attributes)

def trace_borrow_user_attributes(trace):
    return _native_bt.trace_borrow_user_attributes(trace)

def trace_borrow_user_attributes_const(trace):
    return _native_bt.trace_borrow_user_attributes_const(trace)
TRACE_ADD_LISTENER_STATUS_OK = _native_bt.TRACE_ADD_LISTENER_STATUS_OK
TRACE_ADD_LISTENER_STATUS_MEMORY_ERROR = _native_bt.TRACE_ADD_LISTENER_STATUS_MEMORY_ERROR

def trace_add_destruction_listener(trace, user_func, user_data):
    return _native_bt.trace_add_destruction_listener(trace, user_func, user_data)
TRACE_REMOVE_LISTENER_STATUS_OK = _native_bt.TRACE_REMOVE_LISTENER_STATUS_OK
TRACE_REMOVE_LISTENER_STATUS_MEMORY_ERROR = _native_bt.TRACE_REMOVE_LISTENER_STATUS_MEMORY_ERROR

def trace_remove_destruction_listener(trace, listener_id):
    return _native_bt.trace_remove_destruction_listener(trace, listener_id)

def trace_get_ref(trace):
    return _native_bt.trace_get_ref(trace)

def trace_put_ref(trace):
    return _native_bt.trace_put_ref(trace)

def bt2_trace_add_destruction_listener(trace, py_callable):
    return _native_bt.bt2_trace_add_destruction_listener(trace, py_callable)

def trace_class_create(self_component):
    return _native_bt.trace_class_create(self_component)

def trace_class_get_stream_class_count(trace_class):
    return _native_bt.trace_class_get_stream_class_count(trace_class)

def trace_class_borrow_stream_class_by_index(trace_class, index):
    return _native_bt.trace_class_borrow_stream_class_by_index(trace_class, index)

def trace_class_borrow_stream_class_by_index_const(trace_class, index):
    return _native_bt.trace_class_borrow_stream_class_by_index_const(trace_class, index)

def trace_class_borrow_stream_class_by_id(trace_class, id):
    return _native_bt.trace_class_borrow_stream_class_by_id(trace_class, id)

def trace_class_borrow_stream_class_by_id_const(trace_class, id):
    return _native_bt.trace_class_borrow_stream_class_by_id_const(trace_class, id)

def trace_class_set_assigns_automatic_stream_class_id(trace_class, assigns_automatic_stream_class_id):
    return _native_bt.trace_class_set_assigns_automatic_stream_class_id(trace_class, assigns_automatic_stream_class_id)

def trace_class_assigns_automatic_stream_class_id(trace_class):
    return _native_bt.trace_class_assigns_automatic_stream_class_id(trace_class)

def trace_class_set_user_attributes(trace_class, user_attributes):
    return _native_bt.trace_class_set_user_attributes(trace_class, user_attributes)

def trace_class_borrow_user_attributes(trace_class):
    return _native_bt.trace_class_borrow_user_attributes(trace_class)

def trace_class_borrow_user_attributes_const(trace_class):
    return _native_bt.trace_class_borrow_user_attributes_const(trace_class)

def trace_class_get_graph_mip_version(trace_class):
    return _native_bt.trace_class_get_graph_mip_version(trace_class)
TRACE_CLASS_ADD_LISTENER_STATUS_OK = _native_bt.TRACE_CLASS_ADD_LISTENER_STATUS_OK
TRACE_CLASS_ADD_LISTENER_STATUS_MEMORY_ERROR = _native_bt.TRACE_CLASS_ADD_LISTENER_STATUS_MEMORY_ERROR

def trace_class_add_destruction_listener(trace_class, user_func, user_data):
    return _native_bt.trace_class_add_destruction_listener(trace_class, user_func, user_data)
TRACE_CLASS_REMOVE_LISTENER_STATUS_OK = _native_bt.TRACE_CLASS_REMOVE_LISTENER_STATUS_OK
TRACE_CLASS_REMOVE_LISTENER_STATUS_MEMORY_ERROR = _native_bt.TRACE_CLASS_REMOVE_LISTENER_STATUS_MEMORY_ERROR

def trace_class_remove_destruction_listener(trace_class, listener_id):
    return _native_bt.trace_class_remove_destruction_listener(trace_class, listener_id)

def trace_class_get_ref(trace_class):
    return _native_bt.trace_class_get_ref(trace_class)

def trace_class_put_ref(trace_class):
    return _native_bt.trace_class_put_ref(trace_class)

def bt2_trace_class_add_destruction_listener(trace_class, py_callable):
    return _native_bt.bt2_trace_class_add_destruction_listener(trace_class, py_callable)
VALUE_TYPE_NULL = _native_bt.VALUE_TYPE_NULL
VALUE_TYPE_BOOL = _native_bt.VALUE_TYPE_BOOL
VALUE_TYPE_INTEGER = _native_bt.VALUE_TYPE_INTEGER
VALUE_TYPE_UNSIGNED_INTEGER = _native_bt.VALUE_TYPE_UNSIGNED_INTEGER
VALUE_TYPE_SIGNED_INTEGER = _native_bt.VALUE_TYPE_SIGNED_INTEGER
VALUE_TYPE_REAL = _native_bt.VALUE_TYPE_REAL
VALUE_TYPE_STRING = _native_bt.VALUE_TYPE_STRING
VALUE_TYPE_ARRAY = _native_bt.VALUE_TYPE_ARRAY
VALUE_TYPE_MAP = _native_bt.VALUE_TYPE_MAP

def value_get_type(value):
    return _native_bt.value_get_type(value)

def value_type_is(type, other_type):
    return _native_bt.value_type_is(type, other_type)

def value_is_null(value):
    return _native_bt.value_is_null(value)

def value_is_bool(value):
    return _native_bt.value_is_bool(value)

def value_is_unsigned_integer(value):
    return _native_bt.value_is_unsigned_integer(value)

def value_is_signed_integer(value):
    return _native_bt.value_is_signed_integer(value)

def value_is_real(value):
    return _native_bt.value_is_real(value)

def value_is_string(value):
    return _native_bt.value_is_string(value)

def value_is_array(value):
    return _native_bt.value_is_array(value)

def value_is_map(value):
    return _native_bt.value_is_map(value)

def value_bool_create():
    return _native_bt.value_bool_create()

def value_bool_create_init(raw_value):
    return _native_bt.value_bool_create_init(raw_value)

def value_bool_set(value, raw_value):
    return _native_bt.value_bool_set(value, raw_value)

def value_bool_get(value):
    return _native_bt.value_bool_get(value)

def value_integer_unsigned_create():
    return _native_bt.value_integer_unsigned_create()

def value_integer_unsigned_create_init(raw_value):
    return _native_bt.value_integer_unsigned_create_init(raw_value)

def value_integer_unsigned_set(value, raw_value):
    return _native_bt.value_integer_unsigned_set(value, raw_value)

def value_integer_unsigned_get(value):
    return _native_bt.value_integer_unsigned_get(value)

def value_integer_signed_create():
    return _native_bt.value_integer_signed_create()

def value_integer_signed_create_init(raw_value):
    return _native_bt.value_integer_signed_create_init(raw_value)

def value_integer_signed_set(value, raw_value):
    return _native_bt.value_integer_signed_set(value, raw_value)

def value_integer_signed_get(value):
    return _native_bt.value_integer_signed_get(value)

def value_real_create():
    return _native_bt.value_real_create()

def value_real_create_init(raw_value):
    return _native_bt.value_real_create_init(raw_value)

def value_real_set(value, raw_value):
    return _native_bt.value_real_set(value, raw_value)

def value_real_get(value):
    return _native_bt.value_real_get(value)

def value_string_create():
    return _native_bt.value_string_create()

def value_string_create_init(raw_value):
    return _native_bt.value_string_create_init(raw_value)
VALUE_STRING_SET_STATUS_OK = _native_bt.VALUE_STRING_SET_STATUS_OK
VALUE_STRING_SET_STATUS_MEMORY_ERROR = _native_bt.VALUE_STRING_SET_STATUS_MEMORY_ERROR

def value_string_set(value, raw_value):
    return _native_bt.value_string_set(value, raw_value)

def value_string_get(value):
    return _native_bt.value_string_get(value)

def value_array_create():
    return _native_bt.value_array_create()
VALUE_ARRAY_APPEND_ELEMENT_STATUS_OK = _native_bt.VALUE_ARRAY_APPEND_ELEMENT_STATUS_OK
VALUE_ARRAY_APPEND_ELEMENT_STATUS_MEMORY_ERROR = _native_bt.VALUE_ARRAY_APPEND_ELEMENT_STATUS_MEMORY_ERROR

def value_array_append_element(value, element_value):
    return _native_bt.value_array_append_element(value, element_value)

def value_array_append_bool_element(value, raw_value):
    return _native_bt.value_array_append_bool_element(value, raw_value)

def value_array_append_unsigned_integer_element(value, raw_value):
    return _native_bt.value_array_append_unsigned_integer_element(value, raw_value)

def value_array_append_signed_integer_element(value, raw_value):
    return _native_bt.value_array_append_signed_integer_element(value, raw_value)

def value_array_append_real_element(value, raw_value):
    return _native_bt.value_array_append_real_element(value, raw_value)

def value_array_append_string_element(value, raw_value):
    return _native_bt.value_array_append_string_element(value, raw_value)

def value_array_append_empty_array_element(value):
    return _native_bt.value_array_append_empty_array_element(value)

def value_array_append_empty_map_element(value):
    return _native_bt.value_array_append_empty_map_element(value)
VALUE_ARRAY_SET_ELEMENT_BY_INDEX_STATUS_OK = _native_bt.VALUE_ARRAY_SET_ELEMENT_BY_INDEX_STATUS_OK
VALUE_ARRAY_SET_ELEMENT_BY_INDEX_STATUS_MEMORY_ERROR = _native_bt.VALUE_ARRAY_SET_ELEMENT_BY_INDEX_STATUS_MEMORY_ERROR

def value_array_set_element_by_index(value, index, element_value):
    return _native_bt.value_array_set_element_by_index(value, index, element_value)

def value_array_borrow_element_by_index(value, index):
    return _native_bt.value_array_borrow_element_by_index(value, index)

def value_array_borrow_element_by_index_const(value, index):
    return _native_bt.value_array_borrow_element_by_index_const(value, index)

def value_array_get_length(value):
    return _native_bt.value_array_get_length(value)

def value_array_is_empty(value):
    return _native_bt.value_array_is_empty(value)

def value_map_create():
    return _native_bt.value_map_create()
VALUE_MAP_INSERT_ENTRY_STATUS_OK = _native_bt.VALUE_MAP_INSERT_ENTRY_STATUS_OK
VALUE_MAP_INSERT_ENTRY_STATUS_MEMORY_ERROR = _native_bt.VALUE_MAP_INSERT_ENTRY_STATUS_MEMORY_ERROR

def value_map_insert_entry(value, key, entry_value):
    return _native_bt.value_map_insert_entry(value, key, entry_value)

def value_map_insert_bool_entry(value, key, raw_value):
    return _native_bt.value_map_insert_bool_entry(value, key, raw_value)

def value_map_insert_unsigned_integer_entry(value, key, raw_value):
    return _native_bt.value_map_insert_unsigned_integer_entry(value, key, raw_value)

def value_map_insert_signed_integer_entry(value, key, raw_value):
    return _native_bt.value_map_insert_signed_integer_entry(value, key, raw_value)

def value_map_insert_real_entry(value, key, raw_value):
    return _native_bt.value_map_insert_real_entry(value, key, raw_value)

def value_map_insert_string_entry(value, key, raw_value):
    return _native_bt.value_map_insert_string_entry(value, key, raw_value)

def value_map_insert_empty_array_entry(value, key):
    return _native_bt.value_map_insert_empty_array_entry(value, key)

def value_map_insert_empty_map_entry(value, key):
    return _native_bt.value_map_insert_empty_map_entry(value, key)

def value_map_borrow_entry_value(value, key):
    return _native_bt.value_map_borrow_entry_value(value, key)

def value_map_borrow_entry_value_const(value, key):
    return _native_bt.value_map_borrow_entry_value_const(value, key)
VALUE_MAP_FOREACH_ENTRY_FUNC_STATUS_OK = _native_bt.VALUE_MAP_FOREACH_ENTRY_FUNC_STATUS_OK
VALUE_MAP_FOREACH_ENTRY_FUNC_STATUS_INTERRUPT = _native_bt.VALUE_MAP_FOREACH_ENTRY_FUNC_STATUS_INTERRUPT
VALUE_MAP_FOREACH_ENTRY_FUNC_STATUS_MEMORY_ERROR = _native_bt.VALUE_MAP_FOREACH_ENTRY_FUNC_STATUS_MEMORY_ERROR
VALUE_MAP_FOREACH_ENTRY_FUNC_STATUS_ERROR = _native_bt.VALUE_MAP_FOREACH_ENTRY_FUNC_STATUS_ERROR
VALUE_MAP_FOREACH_ENTRY_STATUS_OK = _native_bt.VALUE_MAP_FOREACH_ENTRY_STATUS_OK
VALUE_MAP_FOREACH_ENTRY_STATUS_INTERRUPTED = _native_bt.VALUE_MAP_FOREACH_ENTRY_STATUS_INTERRUPTED
VALUE_MAP_FOREACH_ENTRY_STATUS_USER_ERROR = _native_bt.VALUE_MAP_FOREACH_ENTRY_STATUS_USER_ERROR
VALUE_MAP_FOREACH_ENTRY_STATUS_MEMORY_ERROR = _native_bt.VALUE_MAP_FOREACH_ENTRY_STATUS_MEMORY_ERROR
VALUE_MAP_FOREACH_ENTRY_STATUS_ERROR = _native_bt.VALUE_MAP_FOREACH_ENTRY_STATUS_ERROR

def value_map_foreach_entry(value, user_func, user_data):
    return _native_bt.value_map_foreach_entry(value, user_func, user_data)
VALUE_MAP_FOREACH_ENTRY_CONST_FUNC_STATUS_OK = _native_bt.VALUE_MAP_FOREACH_ENTRY_CONST_FUNC_STATUS_OK
VALUE_MAP_FOREACH_ENTRY_CONST_FUNC_STATUS_INTERRUPT = _native_bt.VALUE_MAP_FOREACH_ENTRY_CONST_FUNC_STATUS_INTERRUPT
VALUE_MAP_FOREACH_ENTRY_CONST_FUNC_STATUS_MEMORY_ERROR = _native_bt.VALUE_MAP_FOREACH_ENTRY_CONST_FUNC_STATUS_MEMORY_ERROR
VALUE_MAP_FOREACH_ENTRY_CONST_FUNC_STATUS_ERROR = _native_bt.VALUE_MAP_FOREACH_ENTRY_CONST_FUNC_STATUS_ERROR
VALUE_MAP_FOREACH_ENTRY_CONST_STATUS_OK = _native_bt.VALUE_MAP_FOREACH_ENTRY_CONST_STATUS_OK
VALUE_MAP_FOREACH_ENTRY_CONST_STATUS_INTERRUPTED = _native_bt.VALUE_MAP_FOREACH_ENTRY_CONST_STATUS_INTERRUPTED
VALUE_MAP_FOREACH_ENTRY_CONST_STATUS_USER_ERROR = _native_bt.VALUE_MAP_FOREACH_ENTRY_CONST_STATUS_USER_ERROR
VALUE_MAP_FOREACH_ENTRY_CONST_STATUS_MEMORY_ERROR = _native_bt.VALUE_MAP_FOREACH_ENTRY_CONST_STATUS_MEMORY_ERROR
VALUE_MAP_FOREACH_ENTRY_CONST_STATUS_ERROR = _native_bt.VALUE_MAP_FOREACH_ENTRY_CONST_STATUS_ERROR

def value_map_foreach_entry_const(value, user_func, user_data):
    return _native_bt.value_map_foreach_entry_const(value, user_func, user_data)

def value_map_get_size(value):
    return _native_bt.value_map_get_size(value)

def value_map_is_empty(value):
    return _native_bt.value_map_is_empty(value)

def value_map_has_entry(value, key):
    return _native_bt.value_map_has_entry(value, key)
VALUE_MAP_EXTEND_STATUS_OK = _native_bt.VALUE_MAP_EXTEND_STATUS_OK
VALUE_MAP_EXTEND_STATUS_MEMORY_ERROR = _native_bt.VALUE_MAP_EXTEND_STATUS_MEMORY_ERROR

def value_map_extend(value, extension_value):
    return _native_bt.value_map_extend(value, extension_value)
VALUE_COPY_STATUS_OK = _native_bt.VALUE_COPY_STATUS_OK
VALUE_COPY_STATUS_MEMORY_ERROR = _native_bt.VALUE_COPY_STATUS_MEMORY_ERROR

def value_copy(value):
    return _native_bt.value_copy(value)

def value_is_equal(a_value, b_value):
    return _native_bt.value_is_equal(a_value, b_value)

def value_get_ref(value):
    return _native_bt.value_get_ref(value)

def value_put_ref(value):
    return _native_bt.value_put_ref(value)

def value_map_get_keys(map_obj):
    return _native_bt.value_map_get_keys(map_obj)

def version_get_major():
    return _native_bt.version_get_major()

def version_get_minor():
    return _native_bt.version_get_minor()

def version_get_patch():
    return _native_bt.version_get_patch()

def version_get_development_stage():
    return _native_bt.version_get_development_stage()

def version_get_vcs_revision_description():
    return _native_bt.version_get_vcs_revision_description()

def version_get_name():
    return _native_bt.version_get_name()

def version_get_name_description():
    return _native_bt.version_get_name_description()

def version_get_extra_name():
    return _native_bt.version_get_extra_name()

def version_get_extra_description():
    return _native_bt.version_get_extra_description()

def version_get_extra_patch_names():
    return _native_bt.version_get_extra_patch_names()

cvar = _native_bt.cvar
value_null = cvar.value_null

