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

Function rpc_get_pkg_stats

core_stats.c:113–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111static int no_pkg_status = 0;
112
113static void rpc_get_pkg_stats(int sender_id, void *foo)
114{
115#ifdef PKG_MALLOC
116 pkg_status_holder *holder;
117
118 holder = (pkg_status && process_no<no_pkg_status)?
119 &(pkg_status[process_no]) : NULL ;
120
121 set_pkg_stats( holder );
122#endif
123 return;
124}
125
126static inline void signal_pkg_status(unsigned long proc_id)
127{

Callers 1

signal_pkg_statusFunction · 0.85

Calls 1

set_pkg_statsFunction · 0.85

Tested by

no test coverage detected