summaryrefslogtreecommitdiffstats
path: root/include/m3ua.hrl
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-11-04 22:25:40 +0100
committerHarald Welte <laforge@gnumonks.org>2011-11-04 22:25:40 +0100
commitdd540862daef277ea70c1fbe95b2f9892d106602 (patch)
tree82dbe071a9dd88695538e1d1338a7f99920ba082 /include/m3ua.hrl
parentdbe1c884894a657be6f5a8826148937e005152c2 (diff)
add some simplistic type / range annotations for records in headers
Diffstat (limited to 'include/m3ua.hrl')
-rw-r--r--include/m3ua.hrl8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/m3ua.hrl b/include/m3ua.hrl
index e5f0f6d..a5973a7 100644
--- a/include/m3ua.hrl
+++ b/include/m3ua.hrl
@@ -63,10 +63,10 @@
-define(M3UA_IEI_DEREG_STATUS, 16#0213).
-record(m3ua_msg, {
- version,
- msg_class,
- msg_type,
- msg_length,
+ version :: 0..255,
+ msg_class :: 0..255,
+ msg_type :: 0..255,
+ msg_length :: non_neg_integer(),
payload
}).