Deleted Added
full compact
tzfile.h (17209) tzfile.h (42989)
1#ifndef TZFILE_H
2
3#define TZFILE_H
4
5/*
6** This file is in the public domain, so clarified as of
1#ifndef TZFILE_H
2
3#define TZFILE_H
4
5/*
6** This file is in the public domain, so clarified as of
7** June 5, 1996 by Arthur David Olson (arthur_david_olson@nih.gov).
7** 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
8*/
9
10/*
11** This header is for use ONLY with the time conversion code.
12** There is no guarantee that it will remain unchanged,
13** or that it will remain at all.
14** Do NOT copy it to any system include directory.
15** Thank you!
16*/
17
18/*
19** ID
20*/
21
22#ifndef lint
23#ifndef NOID
24/*
8*/
9
10/*
11** This header is for use ONLY with the time conversion code.
12** There is no guarantee that it will remain unchanged,
13** or that it will remain at all.
14** Do NOT copy it to any system include directory.
15** Thank you!
16*/
17
18/*
19** ID
20*/
21
22#ifndef lint
23#ifndef NOID
24/*
25static char tzfilehid[] = "@(#)tzfile.h 7.8";
25static char tzfilehid[] = "@(#)tzfile.h 7.14";
26*/
27#endif /* !defined NOID */
28#endif /* !defined lint */
29
30/*
31** Information about time zone files.
32*/
33

--- 8 unchanged lines hidden (view full) ---

42#ifndef TZDEFRULES
43#define TZDEFRULES "posixrules"
44#endif /* !defined TZDEFRULES */
45
46/*
47** Each file begins with. . .
48*/
49
26*/
27#endif /* !defined NOID */
28#endif /* !defined lint */
29
30/*
31** Information about time zone files.
32*/
33

--- 8 unchanged lines hidden (view full) ---

42#ifndef TZDEFRULES
43#define TZDEFRULES "posixrules"
44#endif /* !defined TZDEFRULES */
45
46/*
47** Each file begins with. . .
48*/
49
50#define TZ_MAGIC "TZif"
51
50struct tzhead {
52struct tzhead {
51 char tzh_reserved[20]; /* reserved for future use */
53 char tzh_magic[4]; /* TZ_MAGIC */
54 char tzh_reserved[16]; /* reserved for future use */
52 char tzh_ttisgmtcnt[4]; /* coded number of trans. time flags */
53 char tzh_ttisstdcnt[4]; /* coded number of trans. time flags */
54 char tzh_leapcnt[4]; /* coded number of leap seconds */
55 char tzh_timecnt[4]; /* coded number of transition times */
56 char tzh_typecnt[4]; /* coded number of local time types */
57 char tzh_charcnt[4]; /* coded number of abbr. chars */
58};
59
60/*
61** . . .followed by. . .
62**
63** tzh_timecnt (char [4])s coded transition times a la time(2)
64** tzh_timecnt (unsigned char)s types of local time starting at above
65** tzh_typecnt repetitions of
55 char tzh_ttisgmtcnt[4]; /* coded number of trans. time flags */
56 char tzh_ttisstdcnt[4]; /* coded number of trans. time flags */
57 char tzh_leapcnt[4]; /* coded number of leap seconds */
58 char tzh_timecnt[4]; /* coded number of transition times */
59 char tzh_typecnt[4]; /* coded number of local time types */
60 char tzh_charcnt[4]; /* coded number of abbr. chars */
61};
62
63/*
64** . . .followed by. . .
65**
66** tzh_timecnt (char [4])s coded transition times a la time(2)
67** tzh_timecnt (unsigned char)s types of local time starting at above
68** tzh_typecnt repetitions of
66** one (char [4]) coded GMT offset in seconds
69** one (char [4]) coded UTC offset in seconds
67** one (unsigned char) used to set tm_isdst
68** one (unsigned char) that's an abbreviation list index
69** tzh_charcnt (char)s '\0'-terminated zone abbreviations
70** tzh_leapcnt repetitions of
71** one (char [4]) coded leap second transition times
72** one (char [4]) total correction after above
73** tzh_ttisstdcnt (char)s indexed by type; if TRUE, transition
74** time is standard time, if FALSE,
75** transition time is wall clock time
76** if absent, transition times are
77** assumed to be wall clock time
78** tzh_ttisgmtcnt (char)s indexed by type; if TRUE, transition
70** one (unsigned char) used to set tm_isdst
71** one (unsigned char) that's an abbreviation list index
72** tzh_charcnt (char)s '\0'-terminated zone abbreviations
73** tzh_leapcnt repetitions of
74** one (char [4]) coded leap second transition times
75** one (char [4]) total correction after above
76** tzh_ttisstdcnt (char)s indexed by type; if TRUE, transition
77** time is standard time, if FALSE,
78** transition time is wall clock time
79** if absent, transition times are
80** assumed to be wall clock time
81** tzh_ttisgmtcnt (char)s indexed by type; if TRUE, transition
79** time is GMT, if FALSE,
82** time is UTC, if FALSE,
80** transition time is local time
81** if absent, transition times are
82** assumed to be local time
83*/
84
85/*
86** In the current implementation, "tzset()" refuses to deal with files that
87** exceed any of the limits below.

--- 100 unchanged lines hidden ---
83** transition time is local time
84** if absent, transition times are
85** assumed to be local time
86*/
87
88/*
89** In the current implementation, "tzset()" refuses to deal with files that
90** exceed any of the limits below.

--- 100 unchanged lines hidden ---