X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Ferror-cause-const.h;h=6771b0ad18efd7e4500b1ddeb0b8a9783cf33a25;hb=21a9f056fd7d86d18aa7a1700c7f47d93eb1adeb;hp=8b4e36e06d8601df81f25d617a1c7e0f87cf544f;hpb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;p=babeltrace.git diff --git a/include/babeltrace2/error-cause-const.h b/include/babeltrace2/error-cause-const.h index 8b4e36e0..6771b0ad 100644 --- a/include/babeltrace2/error-cause-const.h +++ b/include/babeltrace2/error-cause-const.h @@ -2,7 +2,7 @@ #define BABELTRACE2_ERROR_CAUSE_CONST_H /* - * Copyright (c) 2019 Philippe Proulx + * 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 @@ -30,10 +30,7 @@ #include #include -/* For bt_error, bt_error_cause */ #include - -/* For bt_component_class_type */ #include #ifdef __cplusplus @@ -41,10 +38,10 @@ extern "C" { #endif typedef enum bt_error_cause_actor_type { - BT_ERROR_CAUSE_ACTOR_TYPE_UNKNOWN, - BT_ERROR_CAUSE_ACTOR_TYPE_COMPONENT, - BT_ERROR_CAUSE_ACTOR_TYPE_COMPONENT_CLASS, - BT_ERROR_CAUSE_ACTOR_TYPE_MESSAGE_ITERATOR, + BT_ERROR_CAUSE_ACTOR_TYPE_UNKNOWN = 0, + BT_ERROR_CAUSE_ACTOR_TYPE_COMPONENT = 1, + BT_ERROR_CAUSE_ACTOR_TYPE_COMPONENT_CLASS = 2, + BT_ERROR_CAUSE_ACTOR_TYPE_MESSAGE_ITERATOR = 3, } bt_error_cause_actor_type; extern