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

Function context_put_int

context.h:126–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 /****************************** SETTERS ********************************/
125
126static inline void context_put_int(enum osips_context type, context_p ctx,
127 int pos, int data)
128{
129#ifdef DBG_MALLOC
130 if (pos < 0 || pos >= type_sizes[type][CONTEXT_INT_TYPE]) {
131 LM_CRIT("Bad pos: %d (%d)\n", pos, type_sizes[type][CONTEXT_INT_TYPE]);
132 abort();
133 }
134#endif
135
136 ((int *)ctx)[pos] = data;
137}
138
139static inline void context_put_str(enum osips_context type, context_p ctx,
140 int pos, str *data)

Callers 5

w_replace_fromFunction · 0.85
w_replace_toFunction · 0.85
t_ctx_put_intFunction · 0.85
b2bl_ctx_put_intFunction · 0.85
dlg_ctx_put_intFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected