[Kamailio-Devel] Variable access from core

Jason Penton jason.penton at smilecoms.com
Thu Mar 19 12:36:33 CET 2009


Nevermind, answered my own question already :D

thanks guys!

On Thu, Mar 19, 2009 at 1:32 PM, Jason Penton <jason.penton at smilecoms.com>wrote:

> 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/99a3db5c/attachment.htm 


More information about the Devel mailing list