30 Jun
2012
30 Jun
'12
9:52 p.m.
On Sat, Jun 30, 2012 at 3:22 PM, Akib Sayyed <akibsayyed@gmail.com> wrote:
i am trying to understand talloc* functions. in layer23 app. i want to know what exact role they perform in these apps. its ok about allocating memory and freeing them but logically why they are used.
talloc is an external library borrowed from samba : http://talloc.samba.org/talloc/doc/html/index.html The code running on the target currently uses a "stub" implementation that only returns fixed size block no matter what is asked. it works because so far the only piece of dynamic allocation is the msgb_alloc ... But to run everything on the phone you'll need a proper target compatible implementation Cheers, Sylvain