X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Ferror-cause-const.h;h=004741fc614fb2e938eab752bc1f3461aa2bcb67;hb=44e2e039eb4bea7100896f504f6e6a40b20b6a1e;hp=b5f022d32e8c6101ffa8333d034e66e99ca51987;hpb=959b3d46dc042fe1df34592f528f866dd200f395;p=babeltrace.git diff --git a/include/babeltrace2/error-cause-const.h b/include/babeltrace2/error-cause-const.h index b5f022d3..004741fc 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 @@ -38,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 = 1 << 0, + BT_ERROR_CAUSE_ACTOR_TYPE_COMPONENT = 1 << 1, + BT_ERROR_CAUSE_ACTOR_TYPE_COMPONENT_CLASS = 1 << 2, + BT_ERROR_CAUSE_ACTOR_TYPE_MESSAGE_ITERATOR = 1 << 3, } bt_error_cause_actor_type; extern