CUBRID Engine  latest
tz_compile.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008 Search Solution Corporation
3  * Copyright 2016 CUBRID Corporation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 /*
20  * tz_support.h : Timezone support
21  */
22 #ifndef _TZ_COMPILE_H_
23 #define _TZ_COMPILE_H_
24 
25 #include "timezone_lib_common.h"
26 
27 #ifdef __cplusplus
28 extern "C"
29 {
30 #endif
31 #if defined (SA_MODE)
32  extern int timezone_compile_data (const char *input_folder, const TZ_GEN_TYPE tz_gen_type, char *database_name,
33  const char *output_file_path, char *checksum);
34 #endif
35  extern void tzc_dump_summary (const TZ_DATA * tzd);
36  extern void tzc_dump_countries (const TZ_DATA * tzd);
37  extern void tzc_dump_timezones (const TZ_DATA * tzd);
38  extern void tzc_dump_one_timezone (const TZ_DATA * tzd, const int zone_id);
39  extern void tzc_dump_leap_sec (const TZ_DATA * tzd);
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 #endif /* _TZ_COMPILE_H_ */
void tzc_dump_leap_sec(const TZ_DATA *tzd)
Definition: tz_compile.c:4788
void tzc_dump_timezones(const TZ_DATA *tzd)
Definition: tz_compile.c:4655
static char database_name[MAX_HA_DBINFO_LENGTH]
Definition: cas_execute.c:387
void tzc_dump_one_timezone(const TZ_DATA *tzd, const int zone_id)
Definition: tz_compile.c:4674
void tzc_dump_countries(const TZ_DATA *tzd)
Definition: tz_compile.c:4637
void tzc_dump_summary(const TZ_DATA *tzd)
Definition: tz_compile.c:4617