mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Added functions for parsing and formatting of dates.
This commit is contained in:
@@ -32,4 +32,8 @@ void tm_dump_all(void);
|
||||
|
||||
extern bird_clock_t now; /* Time in seconds since unknown epoch */
|
||||
|
||||
bird_clock_t tm_parse_date(char *); /* Convert date to bird_clock_t */
|
||||
void tm_format_date(char *, bird_clock_t); /* Convert bird_clock_t to date */
|
||||
#define TM_DATE_BUFFER_SIZE 12 /* Buffer size required by tm_format_date */
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user