Harald Welte
dab0287b3f
msgb: fix printing of msgb pointer during MSGB_ABORT()
2010-11-09 13:42:26 +01:00
Harald Welte
46a45a6c4f
msgb: don't compare unsigned int with int (fix lcr build)
2010-11-09 13:41:48 +01:00
Harald Welte
be6cb17228
msgb_abort(): better formatting
2010-11-05 07:52:22 +01:00
Harald Welte
088e68aff4
generate backtrace in msgb_abort()
...
This helps us to debug where we encounter insufficient headroom...
2010-11-05 07:52:22 +01:00
Harald Welte
929d8870d2
Change msgb_abort() function in MSGB_ABORT argument with variable arguments
...
This enables callers to provide format string and arguments to it
Also, put conditionals into the macro, and remove them from the caller
site.
2010-11-05 07:52:22 +01:00
Holger Hans Peter Freyther
acffb60c1a
msgb: Add non-inlined helper functions to ease with language bindings
...
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-10-18 18:22:31 +02:00
Sylvain Munaut
7459d6cfd1
core/msgb: Use the new osmo_panic call to handle errors
...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-07-25 18:09:28 +02:00
Holger Hans Peter Freyther
5e84a86937
msgb: Avoid warnings that the string might contain %s or such..
2010-07-23 19:22:23 +08:00
Harald Welte
652a72385c
msgb: Check for available headroom/tailroom and abort() if we violate it
2010-07-22 21:56:10 +02:00
Harald Welte
074c9f904c
msgb: introduce msgb->cb (the control buffer)
2010-04-30 14:29:11 +02:00
Harald Welte
bb77c9d6cc
msgb: remove smsh, llch, tlli and gmmh
...
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-30 14:26:12 +02:00
Harald Welte
3120ac3f78
remove the unneeded bts_link pointer from msgb
2010-04-30 14:19:48 +02:00
Holger Hans Peter Freyther
045cc22bae
osmocore: Add a direct l4h to the union of l4h pointers
...
This is needed for the BSSAP code of the On Waves/BSC master branch
2010-03-22 03:11:10 +01:00
Ingo Albrecht
48e17f8951
msgb: Buffer formatting and scanning functions.
2010-03-07 18:03:41 +01:00
Harald Welte
fdd0a70093
add msgb_l1() and msgb_l1len() inline functions
2010-03-01 22:30:51 +01:00
Harald Welte
00096acb8f
msgb: add msgb->l1h member
2010-03-01 12:55:47 +01:00
Harald Welte
ac778fb85d
fix msgb_talroom() calculation
2010-02-24 22:54:11 +01:00
Harald Welte
3415d41a8c
add msgb and tlv support bits required for openbsc gprs branch
2010-02-21 19:03:41 +01:00
Harald Welte
ec8b4501c7
intial checkin of the libosmocore project
2010-02-20 20:34:29 +01:00