Piotr Sikora wrote:
>> Or you can just use the functions you'd normally use to access your
>> own module, e.g.
>>
>> ngx_http_conf_get_module_loc_conf (cf, ngx_http_copy_filter_module);
>
> True, you can use those macros for accessing context:
>
> ngx_http_get_module_ctx(r, module)
> ngx_http_set_ctx(r, c, module)
>
> ...but in the end they will be expanded exactly to what I wrote
> previously ;)
>
Sure, whatever takes your fancy. :-)
Marcus.
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel