Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the definition of `struct ap_conf_vector_t`?

Tags:

c++

c

apache

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

like image 474
wilx Avatar asked May 14 '12 11:05

wilx


1 Answers

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.

like image 77
G. Martinek Avatar answered Oct 12 '22 02:10

G. Martinek