[tcp] Enable AF_INET6 transport for tcp connections
[gpxe.git] / src / include / time.h
blob6ea927c3250650560cdec4ae59b03c0cb8bd94c6
1 #ifndef _TIME_H
2 #define _TIME_H
4 typedef unsigned long time_t;
6 struct tm {
7 int tm_sec; /* seconds */
8 int tm_min; /* minutes */
9 int tm_hour; /* hours */
10 int tm_mday; /* day of the month */
11 int tm_mon; /* month */
12 int tm_year; /* year */
13 int tm_wday; /* day of the week */
14 int tm_yday; /* day in the year */
15 int tm_isdst; /* daylight saving time */
18 extern time_t time ( time_t *t );
20 extern time_t mktime ( struct tm *tm );
22 #endif /* _TIME_H */