| 885 | } |
| 886 | |
| 887 | const struct recurrence *invreq_recurrence(const struct tlv_invoice_request *invreq) |
| 888 | { |
| 889 | if (invreq->offer_recurrence_compulsory) |
| 890 | return invreq->offer_recurrence_compulsory; |
| 891 | return invreq->offer_recurrence_optional; |
| 892 | } |
| 893 | |
| 894 | const struct recurrence *invoice_recurrence(const struct tlv_invoice *inv) |
| 895 | { |
no outgoing calls
no test coverage detected