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

Function int_str2db_val

modules/sqlops/sqlops_impl.c:214–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212
213
214static inline void int_str2db_val( int_str is_val, str *val, int is_s)
215{
216 if (is_s)
217 {
218 /* val is string */
219 *val = is_val.s;
220 } else {
221 /* val is integer */
222 val->s =
223 int2str((unsigned long)is_val.n, &val->len);
224 }
225}
226
227
228int ops_sql_avp_load (struct sip_msg* msg, struct fis_param *sp,

Callers 1

ops_sql_avp_storeFunction · 0.85

Calls 1

int2strFunction · 0.85

Tested by

no test coverage detected