MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / find_export

Function find_export

sr_module.c:516–525  ·  view source on GitHub ↗

searches the module list and returns pointer to the "name" function or * 0 if not found * flags parameter is OR value of all flags that must match */

Source from the content-addressed store, hash-verified

514 * flags parameter is OR value of all flags that must match
515 */
516cmd_function find_export(const char* name, int flags)
517{
518 const cmd_export_t* cmd;
519
520 cmd = find_mod_cmd_export_t(name, flags);
521 if (cmd==0)
522 return 0;
523
524 return cmd->function;
525}
526
527
528

Callers 15

mod_initFunction · 0.85
load_tls_mgm_apiFunction · 0.85
mod_initFunction · 0.85
mod_initFunction · 0.85
child_initFunction · 0.85
load_fs_apiFunction · 0.85
mod_initFunction · 0.85
mod_initFunction · 0.85
load_ebr_apiFunction · 0.85
mod_initFunction · 0.85
load_httpd_apiFunction · 0.85
mod_initFunction · 0.85

Calls 1

find_mod_cmd_export_tFunction · 0.85

Tested by

no test coverage detected