httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harrie Hazewinkel <>
Subject ap_(get|set)_module_config
Date Mon, 09 Apr 2001 12:57:36 GMT
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,


View raw message