PostgreSQL Source Code: src/timezone/tzfile.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3#ifndef TZFILE_H

4

5#define TZFILE_H

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27#define TZDEFAULT "/etc/localtime"

28#define TZDEFRULES "posixrules"

29

30

31

32

33

34

35

36

37#define TZ_MAGIC "TZif"

38

40{

42 char tzh_version[1];

44 char tzh_ttisutcnt[4];

45 char tzh_ttisstdcnt[4];

46 char tzh_leapcnt[4];

47 char tzh_timecnt[4];

48 char tzh_typecnt[4];

49 char tzh_charcnt[4];

50};

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100#define TZ_MAX_TIMES 2000

101

102

103#define TZ_MAX_TYPES 256

104

105#define TZ_MAX_CHARS 50

106

107

108#define TZ_MAX_LEAPS 50

109

110#endif