1 #ifndef _SYS__TZ_STRUCTS_H_
2 #define _SYS__TZ_STRUCTS_H_
3 
4 typedef struct __tzrule_struct
5 {
6   char ch;
7   int m; /* Month of year if ch=M */
8   int n; /* Week of month if ch=M */
9   int d; /* Day of week if ch=M, day of year if ch=J or ch=D */
10   int s; /* Time of day in seconds */
11   time_t change;
12   long offset; /* Match type of _timezone. */
13 } __tzrule_type;
14 
15 typedef struct __tzinfo_struct
16 {
17   int __tznorth;
18   int __tzyear;
19   __tzrule_type __tzrule[2];
20 } __tzinfo_type;
21 
22 __tzinfo_type *__gettzinfo (void);
23 
24 #endif /* _SYS__TZ_STRUCTS_H_ */
25