From dd540862daef277ea70c1fbe95b2f9892d106602 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 4 Nov 2011 22:25:40 +0100 Subject: add some simplistic type / range annotations for records in headers --- include/osmo_util.hrl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/osmo_util.hrl') diff --git a/include/osmo_util.hrl b/include/osmo_util.hrl index e81d24e..f537b2c 100644 --- a/include/osmo_util.hrl +++ b/include/osmo_util.hrl @@ -1,8 +1,10 @@ +-type prim_spec_name() :: 'request' | 'response' | 'confirm' | 'indication'. + % a primitive how it is used inside the SCCP stack and to the user -record(primitive, { subsystem, gen_name, - spec_name, - parameters + spec_name :: prim_spec_name(), + parameters :: list() }). -- cgit v1.2.3