You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Harrie Hazewinkel <ha...@covalent.net> on 2001/04/09 14:57:36 UTC

ap_(get|set)_module_config

HI all,


Why would the ap_get_module_config and
ap_set_module_config be defined in the
server/util_debug.c file?

To me these do not look like debug
functions and as far their definition
goes they should be in the server/config.c.

Also for some reason the following does not compile.
 
AP_DECLARE(void *) ap_get_module_config(const ap_conf_vector_t *cv,
                                        const module *m)
{
    return ((void **)cv)[m->module_index];
}

Results in error:
config.c:572: syntax error before `void'
*** Error code 1
(WHen it is transferred to server/config.c and it
has the same problem if it stays in util_debug.c)

Any help is appreciated,

Harrie