Trying to understand talloc.h

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at

Sylvain Munaut 246tnt at
Sat Jun 30 19:52:43 UTC 2012

On Sat, Jun 30, 2012 at 3:22 PM, Akib Sayyed <akibsayyed at> 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 :

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



More information about the baseband-devel mailing list