aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/netif/channel.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2012-08-19 00:31:35 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-08-19 00:49:58 +0200
commitd73c757e6daff089ebbe0af8f4fcaf4a50ec2d6c (patch)
tree0112ea46d15e17720aad6bfb7686ec6c5efa3c59 /include/osmocom/netif/channel.h
parentc05485c90c17e4fafbf71867e223a6e148c2ca43 (diff)
channel: rename CHAN_* to OSMO_CHAN_* for correct namespace policy
Just to avoid unlikely possible problems while using this library with any other that decided to define the CHAN_* constants.
Diffstat (limited to 'include/osmocom/netif/channel.h')
-rw-r--r--include/osmocom/netif/channel.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/osmocom/netif/channel.h b/include/osmocom/netif/channel.h
index baeb2c8..6afbed8 100644
--- a/include/osmocom/netif/channel.h
+++ b/include/osmocom/netif/channel.h
@@ -3,11 +3,12 @@
#include <stdint.h>
+/* channel types */
enum {
- CHAN_NONE,
- CHAN_ABIS_IPA_SRV,
- CHAN_ABIS_IPA_CLI,
- CHAN_MAX,
+ OSMO_CHAN_NONE,
+ OSMO_CHAN_ABIS_IPA_SRV,
+ OSMO_CHAN_ABIS_IPA_CLI,
+ OSMO_CHAN_MAX,
};
struct osmo_chan;