10#define WHO "parsedate"
14 logmsg(
WHO,111,FATAL,
"out of memory");
28 logmsg(
WHO,111,FATAL,
"unable to init leapsecs: ");
31 if (getln(buffer_0,&
line,&
match,
'\n') == -1)
32 logmsg(
WHO,111,FATAL,
"unable to read input: ");
36 for (i = 0; i <
line.len; ++i)
48 buffer_put(buffer_1,
"?",1);
49 buffer_put(buffer_1,
"\t",1);
58 buffer_puts(buffer_1,
"\n");
62 buffer_flush(buffer_1);
int mess822_when(mess822_time *, char *)
unsigned int caltime_fmt(char *s, struct caltime *ct)
void caltime_tai(struct caltime *ct, struct tai *t)
void caltime_utc(struct caltime *ct, struct tai *t, int *pwday, int *pyday)