From ba0ada720fc0bb838b1d5f05060677cc33c90901 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 8 Dec 2011 00:56:30 +0100 Subject: osmo_util: define #pointcode{} record instead of manual 3-tuple --- include/osmo_util.hrl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/osmo_util.hrl') 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 +}). -- cgit v1.2.3