1 /*-------------------------------------------------------------------------
4 * Timezone offset file parsing definitions.
6 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
11 *-------------------------------------------------------------------------
17 * The result of parsing a timezone configuration file is an array of
18 * these structs, in order by abbrev. We export this because datetime.c
21 typedef struct tzEntry
23 /* the actual data: TZ abbrev (downcased), offset, DST flag */
25 int offset
; /* in seconds from UTC */
27 /* source information (for error messages) */
33 extern bool load_tzoffsets(const char *filename
, bool doit
, int elevel
);
35 #endif /* TZPARSER_H */