[Kamailio-Devel] Variable access from core

Iñaki Baz Castillo ibc at aliax.net
Wed Mar 18 14:45:02 CET 2009


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>



More information about the Devel mailing list