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

Function pv_get_timem

pvar.c:477–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477static int pv_get_timem(struct sip_msg *msg, pv_param_t *param,
478 pv_value_t *res)
479{
480 struct timeval TP;
481
482 if(msg==NULL)
483 return -1;
484
485 gettimeofday(&TP, NULL);
486 return pv_get_uintval(msg, param, res, (unsigned int)TP.tv_usec);
487}
488
489static int pv_get_start_times(struct sip_msg *msg, pv_param_t *param,
490 pv_value_t *res)

Callers

nothing calls this directly

Calls 1

pv_get_uintvalFunction · 0.85

Tested by

no test coverage detected