Where is the definition of `struct ap_conf_vector_t`?

apache, c, c++

Solution

ap_conf_vector_t seems to be an opaque datatype. This is usually used in the old days to define a stable api which the possibility to later change the implementation without changes to the api.

ap_conf_vector_t is only used as a parameter to the api functions like:

- ap_get_module_config

- ap_parse_htaccess

You are not supposed to manipulate the members of this structure directly. Kind of OO programming, you only can use the supplied functions.

Problem

Where is the definition of the `struct ap_conf_vector_t` in Apache sources? Is it generated, where?

Original source