X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fcomponent-class.h;h=2c2a85c23c3139879b4e8bf5f31c3a1f0ad2cdfe;hb=7b6afccb24b31e2feed787c2ed97809e797c3070;hp=b666ba93fd008022e43b3ae89873ea12b0c77c4c;hpb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;p=babeltrace.git diff --git a/include/babeltrace2/graph/component-class.h b/include/babeltrace2/graph/component-class.h index b666ba93..2c2a85c2 100644 --- a/include/babeltrace2/graph/component-class.h +++ b/include/babeltrace2/graph/component-class.h @@ -2,8 +2,7 @@ #define BABELTRACE2_GRAPH_COMPONENT_CLASS_H /* - * Copyright 2017-2018 Philippe Proulx - * Copyright 2016 Jérémie Galarneau + * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -28,13 +27,18 @@ # error "Please include instead." #endif -/* For bt_component_class */ #include #ifdef __cplusplus extern "C" { #endif +typedef enum bt_component_class_get_supported_mip_versions_method_status { + BT_COMPONENT_CLASS_GET_SUPPORTED_MIP_VERSIONS_METHOD_STATUS_OK = __BT_FUNC_STATUS_OK, + BT_COMPONENT_CLASS_GET_SUPPORTED_MIP_VERSIONS_METHOD_STATUS_ERROR = __BT_FUNC_STATUS_ERROR, + BT_COMPONENT_CLASS_GET_SUPPORTED_MIP_VERSIONS_METHOD_STATUS_MEMORY_ERROR = __BT_FUNC_STATUS_MEMORY_ERROR, +} bt_component_class_get_supported_mip_versions_method_status; + typedef enum bt_component_class_init_method_status { BT_COMPONENT_CLASS_INIT_METHOD_STATUS_OK = __BT_FUNC_STATUS_OK, BT_COMPONENT_CLASS_INIT_METHOD_STATUS_ERROR = __BT_FUNC_STATUS_ERROR, @@ -52,8 +56,7 @@ typedef enum bt_component_class_query_method_status { BT_COMPONENT_CLASS_QUERY_METHOD_STATUS_AGAIN = __BT_FUNC_STATUS_AGAIN, BT_COMPONENT_CLASS_QUERY_METHOD_STATUS_ERROR = __BT_FUNC_STATUS_ERROR, BT_COMPONENT_CLASS_QUERY_METHOD_STATUS_MEMORY_ERROR = __BT_FUNC_STATUS_MEMORY_ERROR, - BT_COMPONENT_CLASS_QUERY_METHOD_STATUS_INVALID_OBJECT = __BT_FUNC_STATUS_INVALID_OBJECT, - BT_COMPONENT_CLASS_QUERY_METHOD_STATUS_INVALID_PARAMS = __BT_FUNC_STATUS_INVALID_PARAMS, + BT_COMPONENT_CLASS_QUERY_METHOD_STATUS_UNKNOWN_OBJECT = __BT_FUNC_STATUS_UNKNOWN_OBJECT, } bt_component_class_query_method_status; typedef enum bt_component_class_message_iterator_init_method_status {