[Kamailio-Devel] Variable access from core

Jason Penton jason.penton at smilecoms.com
Wed Mar 18 14:49:02 CET 2009


Thanks Iñaki

On Wed, Mar 18, 2009 at 3:45 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:

> 2009/3/18 Jason Penton <jason.penton at smilecoms.com>:
> > Hi *,
> >
> > What is the best practice for exposing a particular variable / ptr from
> the
> > core (e.g. sr_module.c) to any of the modules?
>
> Variables from the core are declarated in "globals.h" as "extern" (so
> they are globals). This is the case of all the core parameters.
>
>
> --
> Iñaki Baz Castillo
> <ibc at aliax.net>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/devel/attachments/20090318/ff6c4df3/attachment.htm 


More information about the Devel mailing list