| 1649 | |
| 1650 | |
| 1651 | tmrec *tmrec_parse(const char *tr, char alloc) |
| 1652 | { |
| 1653 | tmrec_p time_rec; |
| 1654 | |
| 1655 | time_rec = tmrec_new(alloc); |
| 1656 | if (!time_rec) { |
| 1657 | LM_ERR("oom\n"); |
| 1658 | return NULL; |
| 1659 | } |
| 1660 | |
| 1661 | if (_tmrec_parse(tr, time_rec) < 0) { |
| 1662 | tmrec_free(time_rec); |
| 1663 | return NULL; |
| 1664 | } |
| 1665 | |
| 1666 | return (tmrec *)time_rec; |
| 1667 | } |
| 1668 | |
| 1669 | |
| 1670 | int _tmrec_check(const tmrec *_tr, time_t time) |
nothing calls this directly
no test coverage detected