/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#ifndef _LIBZONEINFO_H
#define _LIBZONEINFO_H
/*
* WARNING:
*
* The interfaces defined in this header file are for Sun private use only.
* The contents of this file are subject to change without notice for the
* future releases.
*/
/*
* Declarations for the functions in libzoneinfo
*/
#ifdef __cplusplus
extern "C" {
#endif
struct tz_timezone {
int lat_sign;
unsigned int lat_degree;
unsigned int lat_minute;
unsigned int lat_second;
int long_sign;
unsigned int long_degree;
unsigned int long_minute;
unsigned int long_second;
} tz_coord;
};
struct tz_continent {
};
struct tz_country {
};
extern int get_tz_continents(struct tz_continent **);
extern int free_tz_continents(struct tz_continent *);
extern int free_tz_countries(struct tz_country *);
extern int free_timezones(struct tz_timezone *);
extern char *conv_gmt(int, int);
extern char *get_system_tz(char *);
extern int set_system_tz(char *, char *);
extern int isvalid_tz(char *, char *, int);
#ifdef __cplusplus
}
#endif
#endif /* _LIBZONEINFO_H */