aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/msgb.c
AgeCommit message (Collapse)AuthorFilesLines
2009-12-17logging: introduce log levels at caller siteHarald Welte1-1/+4
This introduces a new LOGP() macro together with LOGL_* definition to support multiple log levels (severities) throughout the codebase. Please note that the actual logging system does not use them yet, in this patch we simply introduce the new macros at the caller site.
2009-10-21[msgb] Add msgb_reset to reset an existing msgb* to the initial stateHolger Hans Peter Freyther1-0/+20
The reset is useful if one msgb is supposed to be used over and over again and is avoiding to use msgb_free,msgb_alloc in the application code.
2009-07-28move allocation of talloc contexts into link-time constructorHarald Welte1-3/+5
This is much more optimal than checking if the context exists every time we allocate the respective object.
2009-06-26use named variant when allocating msgb'sHarald Welte1-3/+2
when we generate a talloc report (SIGUSR1), we can now see which system allocated a given msgb, this helps memory leak debugging
2009-06-20introduce talloc all over OpenBSCHarald Welte1-2/+11
2009-06-10move openbsc into its own subdirectoryHarald Welte1-0/+70