MCPcopy Create free account
hub / github.com/apache/httpd / get_sorted_modules

Function get_sorted_modules

modules/generators/mod_info.c:758–768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

756}
757
758static apr_array_header_t *get_sorted_modules(apr_pool_t *p)
759{
760 apr_array_header_t *arr = apr_array_make(p, 64, sizeof(module *));
761 module *modp, **entry;
762 for (modp = ap_top_module; modp; modp = modp->next) {
763 entry = &APR_ARRAY_PUSH(arr, module *);
764 *entry = modp;
765 }
766 qsort(arr->elts, arr->nelts, sizeof(module *), cmp_module_name);
767 return arr;
768}
769
770static int display_info(request_rec * r)
771{

Callers 1

display_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected