aboutsummaryrefslogtreecommitdiffstats
path: root/src/msgb.c
AgeCommit message (Collapse)AuthorFilesLines
2014-03-04msgb: Add msgb_hexdump() functionJacob Erlbeck1-0/+49
This function works like osmo_hexdump() and returns a static buffer containing hex bytes along with markers for the layers. Note that it uses osmo_hexdump() internally, thus a call to msgb_hexdump() invalidates the buffer that has been returned by an earlier call to osmo_hexdump(). In short: don't mix them in a single call printf(). Sponsored-by: On-Waves ehf
2013-02-15misc: Doxygen tweaks: fixed some typos and minor errorsKaterina Barone-Adesi1-3/+3
Doxygen generates quite a lot of warnings on libosmocore. Some of them are obvious typos - this patch aims to fix such low-hanging fruit.
2012-04-18doc: Fix the Doxygen section endingsSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-08-17some more doxygen work (include the notion of modules)Harald Welte1-0/+51
2011-06-29add msgb_set_talloc_ctx() to set the talloc context for msgb allocationsHarald Welte1-0/+5
2011-04-18misc: Remove the sys/types.h include from various filesHolger Hans Peter Freyther1-1/+0
We used this include for the u_int{8,16,32}_t types but we do not need this anymore.
2011-03-23include: reorganize headers file to include/osmocom/[gsm|core]0.2.0Pablo Neira Ayuso1-2/+2
This patch moves all GSM-specific definitions to include/osmocom/gsm. Moreover, the headers in include/osmocore/ have been moved to include/osmocom/core. This has been proposed by Harald Welte and Sylvain Munaunt. Tested with `make distcheck'. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2010-10-18msgb: Add non-inlined helper functions to ease with language bindingsHolger Hans Peter Freyther1-0/+11
It is easier from languages that dlopen libosmocore to have a function to access this data than to poke at the bytes of the struct directly. Add copyright for this method and the reset method I did earlier this year.
2010-05-01msgb: initialize cb[] to zero during msgb_reset()0.1.5Harald Welte1-0/+2
2010-04-30msgb: remove smsh, llch, tlli and gmmhHarald Welte1-1/+1
This is a lot of GSM/GPRS specific stuff in struct msgb which we want to avoid. The 'control buffer' will replace them.
2010-04-30remove the unneeded bts_link pointer from msgbHarald Welte1-1/+0
2010-02-24msgb.c: Style cleanup in initializationSylvain Munaut1-13/+4
Don't assign the same var twice & init all from the same source.
2010-02-20intial checkin of the libosmocore projectHarald Welte1-0/+98