[Kamailio-Devel] Variable access from core

Jason Penton jason.penton at smilecoms.com
Thu Mar 19 12:32:09 CET 2009


Hi Henning,

yes I had forgotten to include globals.h, something I realised just after
sending the mail again :D

However, one other question: is it possible to pass in core data to a module
process?

Kind regards
Jason

2009/3/19 Henning Westerholt <henning.westerholt at 1und1.de>

> On Thursday 19 March 2009, Jason Penton wrote:
> > but If I do this and try and access my global variable in mod_init of my
> > module - compile fails with undefined variable????
> > please assist
>
> Hi Jason,
>
> probably stupid question, but do you've included the global.h in your
> module?
> And do you've also a definition in your module code additional to the the
> declaration in the global.h?
>
> Cheers,
>
> Henning
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/devel/attachments/20090319/6f52fab4/attachment.htm 


More information about the Devel mailing list