Fix: src.ctf.lttng-live: emitting stream end msg with no stream
[babeltrace.git] / include / babeltrace2 / graph / port-const.h
index b381dc09b7cdfce6acccd9fc019053d996405263..eda9ccb9acff0d48cec54053db0b83c1bdc5166d 100644 (file)
@@ -2,8 +2,7 @@
 #define BABELTRACE2_GRAPH_PORT_CONST_H
 
 /*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
- * Copyright 2017 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
@@ -37,8 +36,8 @@ extern "C" {
 #endif
 
 typedef enum bt_port_type {
-       BT_PORT_TYPE_INPUT = 0,
-       BT_PORT_TYPE_OUTPUT = 1,
+       BT_PORT_TYPE_INPUT      = 1 << 0,
+       BT_PORT_TYPE_OUTPUT     = 1 << 1,
 } bt_port_type;
 
 extern const char *bt_port_get_name(const bt_port *port);
This page took 0.023373 seconds and 4 git commands to generate.