aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mncc.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-15move talloc context creation out of on_dso / constructorsHarald Welte (local)1-6/+1
the various constructors get called in a non-obvious, linker determined order, which makes certain objects disappear from the talloc report. This change moves the talloc context creation into a new talloc_ctx.c file
2009-07-28move allocation of talloc contexts into link-time constructorHarald Welte1-6/+5
This is much more optimal than checking if the context exists every time we allocate the respective object.
2009-06-26zero-initialize some more memory that we allocateHarald Welte1-1/+1
2009-06-20introduce talloc all over OpenBSCHarald Welte1-3/+13
2009-06-11use less magic numbers (04.08 CC cause values)Harald Welte1-5/+10
Introduce a gsm48_cc_cause enum and use it from gsm_04_08 and MNCC, also make sure we use gsm48_cause_loc rather than plain numbers.
2009-06-10reworked MNCC codebaseHarald Welte1-0/+382
This is Harald's reworked MNCC base, slowly heading towards integration into master. The key changes are: * provide much more structure to the data in gsm_mncc * encode_* and decode_* functions now take a structure rather than tons of individual arguments (whose order nobody can remember) * make sure we don't have copies of the same code everywhere by introducing mncc_set_cause() and mncc_release_ind() * save horizontal screen space if possible * make sure we break lines > 80 characters