Fix: src.ctf.lttng-live: emitting stream end msg with no stream
[babeltrace.git] / include / babeltrace2 / graph / component-class-const.h
index 250b07624be4822f0014859be63a98c28d568491..da46d290cbfa6eaac47920bcbf0348eaea1e9234 100644 (file)
@@ -2,8 +2,7 @@
 #define BABELTRACE2_GRAPH_COMPONENT_CLASS_CONST_H
 
 /*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
- * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
+ * 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,7 +27,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_bool, bt_component_class */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
@@ -36,9 +34,9 @@ extern "C" {
 #endif
 
 typedef enum bt_component_class_type {
-       BT_COMPONENT_CLASS_TYPE_SOURCE = 0,
-       BT_COMPONENT_CLASS_TYPE_FILTER = 1,
-       BT_COMPONENT_CLASS_TYPE_SINK = 2,
+       BT_COMPONENT_CLASS_TYPE_SOURCE  = 1 << 0,
+       BT_COMPONENT_CLASS_TYPE_FILTER  = 1 << 1,
+       BT_COMPONENT_CLASS_TYPE_SINK    = 1 << 2,
 } bt_component_class_type;
 
 extern const char *bt_component_class_get_name(
This page took 0.023053 seconds and 4 git commands to generate.