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

Function find_core_cmd_export_t

core_cmds.c:401–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399
400
401const cmd_export_t* find_core_cmd_export_t(const char* name, int flags)
402{
403 const cmd_export_t* cmd;
404
405 for(cmd=core_cmds; cmd && cmd->name; cmd++){
406 if((strcmp(name, cmd->name)==0)&&((cmd->flags & flags) == flags)){
407 LM_DBG("found <%s> core function\n", name);
408 return cmd;
409 }
410 }
411
412 LM_DBG("<%s> not found \n", name);
413 return 0;
414}
415
416
417static int fixup_destination(void** param)

Callers 1

find_cmd_export_tFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected