mirror of https://gerrit.osmocom.org/libosmocore
e6475447bf
- Use time_t instead of abstract minutes to store validity time to make sure we support all possible values. - Return UNIX time from it to support both relative and absolute expire times. - Pass a current time to gsm340_validity_period() to compute the absolute expire time if a relative time is specified. What time is "current" is to be decided by callers. - We also introduce SMS_DEFAULT_VALIDITY_PERIOD macros to reduce number of magic values. |
||
---|---|---|
.. | ||
osmocom | ||
Makefile.am |