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

Function module_find_hook

modules/generators/mod_info.c:359–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357};
358
359static int module_find_hook(module * modp, hook_get_t hook_get)
360{
361 int i;
362 apr_array_header_t *hooks = hook_get();
363 hook_struct_t *elts;
364
365 if (!hooks) {
366 return 0;
367 }
368
369 elts = (hook_struct_t *) hooks->elts;
370
371 for (i = 0; i < hooks->nelts; i++) {
372 if (strcmp(elts[i].szName, modp->name) == 0) {
373 return 1;
374 }
375 }
376
377 return 0;
378}
379
380static void module_participate(request_rec * r,
381 module * modp,

Callers 2

module_participateFunction · 0.85
display_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected