summaryrefslogtreecommitdiffstats
path: root/src/strrb.c
Commit message (Collapse)AuthorAgeFilesLines
* strrb: Add missing #include to talloc.hHarald Welte2017-05-151-0/+1
| | | | | | The strrb.c code uses talloc API without using the proper #include. Change-Id: I4ac485324f40545339d8df6884f1dea319a23648
* strrb.c: Use string.h, not strings.hHarald Welte2014-11-141-1/+1
| | | | Not all systems have strings.h
* sttrb / loggingrb: Use GPLv2+ as license, not AGPLv3+Harald Welte2014-10-261-1/+1
| | | | | according to Holger, using AGPLv3+ at the time was a mistake and the license should always have indicated GPLv2+.
* strrb: Remove a tautology from the codeHolger Hans Peter Freyther2013-07-031-1/+1
| | | | | | | | This already came up during review but now that Coverity complains about it as well, let us just remove it. The variable is unsigned so it can never be < 0. Fixes: Coverity CID 1040669.
* Added a ring buffer log target to store the last N log messages.Katerina Barone-Adesi2013-02-271-0/+171
| | | | | | | The log target can be used via log alarms and show alarms. Why? This feature was proposed/requested at http://openbsc.osmocom.org/trac/wiki/Tasks/ErrorLogTarget All messages use the same amount of space, prioritizing simplicity.
* Revert "Added a ring buffer log target to store the last N log messages."Holger Hans Peter Freyther2013-02-271-170/+0
| | | | | | | I noticed some more issues and it is the easiest to revert and include the fixed version. This reverts commit 73377229bb33ab79682ce4b126a63602d13304ad.
* Added a ring buffer log target to store the last N log messages.Katerina Barone-Adesi2013-02-271-0/+170
The log target can be used via log alarms and show alarms. Why? This feature was proposed/requested at http://openbsc.osmocom.org/trac/wiki/Tasks/ErrorLogTarget All messages use the same amount of space, prioritizing simplicity.