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

Function profiling_set_ctx

profiling.h:134–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134static inline int profiling_set_ctx(const profiling_ctx_t *ctx)
135{
136 profiling_handlers_t *handlers;
137 int ret = 0;
138
139 for (handlers = profiling_handlers; handlers; handlers = handlers->next)
140 if ((handlers->accepted_data_types & PROFILING_DATA_TYPE_SCRIPT) &&
141 handlers->set_ctx && handlers->set_ctx(ctx))
142 ret = 1;
143
144 return ret;
145}
146
147
148

Callers 2

t_resume_async_requestFunction · 0.85
t_resume_async_replyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected