summaryrefslogtreecommitdiffstats
path: root/include/osmo_util.hrl
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-12-08 00:56:30 +0100
committerHarald Welte <laforge@gnumonks.org>2011-12-08 00:56:30 +0100
commitba0ada720fc0bb838b1d5f05060677cc33c90901 (patch)
tree16b65d21e48fea1fffa8be784d6e25d31757fc59 /include/osmo_util.hrl
parent9baab6dbc994e4a26ef2cd5fda5fd90ba44cd612 (diff)
osmo_util: define #pointcode{} record instead of manual 3-tuple
Diffstat (limited to 'include/osmo_util.hrl')
-rw-r--r--include/osmo_util.hrl7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/osmo_util.hrl b/include/osmo_util.hrl
index ba37dd4..34f7e06 100644
--- a/include/osmo_util.hrl
+++ b/include/osmo_util.hrl
@@ -8,3 +8,10 @@
spec_name :: prim_spec_name(),
parameters
}).
+
+-type pointcode_repr() :: 'itu' | 'ansi' | 'ttc'.
+
+-record(pointcode, {
+ repr :: pointcode_repr(),
+ value
+}).