Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | msgb: Make sure at compile time that headroom is smaller than size | Holger Hans Peter Freyther | 2011-01-16 | 1 | -0/+3 |
| | | | | | | | All current code is using constants to allocate the msgb with headroom. Use a static_assert to make sure that the headroom is smaller than the size. This makes API misusage unlikely to happen. | ||||
* | Move the generate backtrace call from MSGB_ABORT to osmo_panic handler | Sylvain Munaut | 2010-11-13 | 1 | -2/+0 |
| | | | | | | | | | | | | This has two benefits: - All people calling osmo_panic() will have the backtrace - It makes the thing build in 'target' mode in osmocom-bb And one downside: - The osmo_panic handler is now in the backtrace (I can live with that :) Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | msgb: fix printing of msgb pointer during MSGB_ABORT() | Harald Welte | 2010-11-09 | 1 | -1/+1 |
| | |||||
* | msgb: don't compare unsigned int with int (fix lcr build) | Harald Welte | 2010-11-09 | 1 | -2/+2 |
| | |||||
* | msgb_abort(): better formatting | Harald Welte | 2010-11-05 | 1 | -1/+1 |
| | |||||
* | generate backtrace in msgb_abort() | Harald Welte | 2010-11-05 | 1 | -0/+2 |
| | | | | This helps us to debug where we encounter insufficient headroom... | ||||
* | Change msgb_abort() function in MSGB_ABORT argument with variable arguments | Harald Welte | 2010-11-05 | 1 | -10/+9 |
| | | | | | | | This enables callers to provide format string and arguments to it Also, put conditionals into the macro, and remove them from the caller site. | ||||
* | msgb: Add non-inlined helper functions to ease with language bindings | Holger Hans Peter Freyther | 2010-10-18 | 1 | -0/+5 |
| | | | | | | 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. | ||||
* | core/msgb: Use the new osmo_panic call to handle errors | Sylvain Munaut | 2010-07-25 | 1 | -4/+2 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | msgb: Avoid warnings that the string might contain %s or such.. | Holger Hans Peter Freyther | 2010-07-23 | 1 | -1/+1 |
| | |||||
* | msgb: Check for available headroom/tailroom and abort() if we violate it | Harald Welte | 2010-07-22 | 1 | -4/+31 |
| | |||||
* | msgb: introduce msgb->cb (the control buffer) | Harald Welte | 2010-04-30 | 1 | -0/+4 |
| | |||||
* | msgb: remove smsh, llch, tlli and gmmh | Harald Welte | 2010-04-30 | 1 | -11/+2 |
| | | | | | This is a lot of GSM/GPRS specific stuff in struct msgb which we want to avoid. The 'control buffer' will replace them. | ||||
* | remove the unneeded bts_link pointer from msgb | Harald Welte | 2010-04-30 | 1 | -5/+0 |
| | |||||
* | osmocore: Add a direct l4h to the union of l4h pointers | Holger Hans Peter Freyther | 2010-03-22 | 1 | -0/+1 |
| | | | | This is needed for the BSSAP code of the On Waves/BSC master branch | ||||
* | msgb: Buffer formatting and scanning functions. | Ingo Albrecht | 2010-03-07 | 1 | -0/+41 |
| | |||||
* | add msgb_l1() and msgb_l1len() inline functions | Harald Welte | 2010-03-01 | 1 | -0/+6 |
| | |||||
* | msgb: add msgb->l1h member | Harald Welte | 2010-03-01 | 1 | -0/+2 |
| | |||||
* | fix msgb_talroom() calculation | Harald Welte | 2010-02-24 | 1 | -1/+1 |
| | |||||
* | add msgb and tlv support bits required for openbsc gprs branch | Harald Welte | 2010-02-21 | 1 | -1/+12 |
| | |||||
* | intial checkin of the libosmocore project | Harald Welte | 2010-02-20 | 1 | -0/+114 |