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

Function tmrec_init

time_rec.c:488–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488void tmrec_init(tmrec_p t)
489{
490 memset(t, 0, sizeof *t);
491
492 /* these values may be legitimately set to 0 (i.e. UNIX start time) */
493 t->dtstart = TR_NOVAL;
494 t->dtend = TR_NOVAL;
495 t->duration = TR_NOVAL;
496
497 t->freq = TR_NOVAL;
498 t->until = TR_NOVAL;
499 t->interval = TR_NOVAL;
500}
501
502static inline void tmrec_expr_init(tmrec_expr_t *e)
503{

Callers 4

tmrec_expr_initFunction · 0.85
tmrec_newFunction · 0.85
_tmrec_check_strFunction · 0.85
create_time_recFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected