1
0
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:
Martin Mares
1999-08-03 19:29:27 +00:00
parent 6542ece91a
commit 913f7dc9f2
3 changed files with 31 additions and 1 deletions

View File

@@ -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