Variable visibility between 3rd party modules
bsfranks at gmail.com
bsfranks at gmail.com
Tue Sep 30 15:47:52 UTC 2014
Hi Thierry,
On Tue, Sep 30, 2014 at 2:41 AM, MAGNIEN, Thierry <thierry.magnien at sfr.com>
wrote:
> Hi,
>
> In my own module, do I have a simple way to retrieve a variable which has
> been set by another module ?
>
> For example, GeoIP module sets the geoip_org variable. Is there a set of C
> functions that allow my module to retrieve this value ?
>
> Thanks a lot,
> Thierry
>
Check out the ngx_http_get_variable() function. Hope this helps!
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20140930/0a5afa97/attachment.html>
More information about the nginx-devel
mailing list