#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
#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);