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

Function freeDiameter_init

modules/aaa_diameter/dm_impl.c:1661–1685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1659
1660
1661int freeDiameter_init(void)
1662{
1663 extern int fd_conf_deinit(void);
1664
1665 extern int fd_log_level;
1666
1667 if (fd_log_level < FD_LOG_ANNOYING)
1668 fd_log_level = FD_LOG_ANNOYING;
1669
1670 if (fd_log_level > FD_LOG_FATAL)
1671 fd_log_level = FD_LOG_FATAL;
1672
1673 /* free the "minimal initialization" we've done at mod_init() */
1674 FD_CHECK(fd_conf_deinit());
1675
1676 /* ... and now fully init the entire freeDiameter library
1677 * (parse freeDiameter-client.conf file, fork all threads, etc.) */
1678 FD_CHECK(fd_core_initialize());
1679
1680 fd_g_debug_lvl = fd_log_level;
1681
1682 FD_CHECK(fd_core_parseconf(dm_conf_filename));
1683
1684 return 0;
1685}
1686
1687
1688int dm_find(aaa_conn *_, aaa_map *map, int op)

Callers 1

dm_peer_loopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected