X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fport-const.h;h=eda9ccb9acff0d48cec54053db0b83c1bdc5166d;hb=1cda4ff4025e4b3f7bd2a861baa51d2113c4cbf9;hp=b381dc09b7cdfce6acccd9fc019053d996405263;hpb=959b3d46dc042fe1df34592f528f866dd200f395;p=babeltrace.git diff --git a/include/babeltrace2/graph/port-const.h b/include/babeltrace2/graph/port-const.h index b381dc09..eda9ccb9 100644 --- a/include/babeltrace2/graph/port-const.h +++ b/include/babeltrace2/graph/port-const.h @@ -2,8 +2,7 @@ #define BABELTRACE2_GRAPH_PORT_CONST_H /* - * Copyright 2017-2018 Philippe Proulx - * Copyright 2017 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 @@ -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);