diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-11-27 13:26:13 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-12-21 16:14:23 +0100 |
commit | cdd05f0ed439787d79ff7a0e04c3fc6e2516a64c (patch) | |
tree | 09f86fdd620d68154ffe91797095858d42a1effb /src/msgfile.c | |
parent | 9e57a5a6974e92a2df73f9009f793c1a1f6206d9 (diff) |
msgb: Add msgb_resize_area and msgb_copy
These functions originate from openbsc/src/gprs but are generic
msgb helper functions.
msgb_copy: This function allocates a new msgb, copies the data
buffer of msg, and adjusts the pointers (incl. l1h-l4h)
accordingly.
msgb_resize_area:
This resizes a sub area of the msgb data and adjusts the
pointers (incl. l1h-l4h) accordingly.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/msgfile.c')
0 files changed, 0 insertions, 0 deletions