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

Function exec_pre_cb

script_cb.c:162–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160
161
162static inline int exec_pre_cb( struct sip_msg *msg, struct script_cb *cb)
163{
164 int bitmask = SCB_RUN_ALL;
165
166 for ( ; cb ; cb=cb->next ) {
167 bitmask &= cb->cbf(msg, cb->param);
168
169 if (bitmask == SCB_DROP_MSG)
170 break;
171 }
172
173 return bitmask;
174}
175
176
177static inline int exec_post_cb( struct sip_msg *msg, struct script_cb *cb)

Callers 2

exec_pre_req_cbFunction · 0.85
exec_pre_rpl_cbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected