create a dependency to "auth" module if any of the digest auth * functions are used from the script - we do a small trick here and * hook on the 'aaa_url' mandatory param to run the check, even if the * param value is not involved in the test */
| 104 | * hook on the 'aaa_url' mandatory param to run the check, even if the |
| 105 | * param value is not involved in the test */ |
| 106 | static module_dependency_t *get_deps_aaa_url(const param_export_t *param) |
| 107 | { |
| 108 | if (is_script_func_used("aaa_www_authorize", -1) || |
| 109 | is_script_func_used("aaa_proxy_authorize", -1) ) |
| 110 | return alloc_module_dep(MOD_TYPE_DEFAULT, "auth", DEP_ABORT); |
| 111 | |
| 112 | return NULL; |
| 113 | } |
| 114 | |
| 115 | static const dep_export_t deps = { |
| 116 | { /* OpenSIPS module dependencies */ |
nothing calls this directly
no test coverage detected