rtc.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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
*/
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _RTC_H
#define _RTC_H
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* Global include file for the runtime configuration support.
*/
#include <time.h>
#include <machdep.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Configuration header.
*/
typedef struct {
/* is specific to */
/* by the configuration info */
} Rtc_head;
/* these may exist without a */
/* memory reservation (see -a) */
/*
* Object descriptor.
*/
typedef struct {
} Rtc_obj;
/* containing objects */
/* configuration file specific */
/*
* Directory and file descriptors. The configuration cache (cd_dir) points to
* an array of directory descriptors, this in turn point to their associated
* arrays of file descriptors. Both of these provide sequential access for
* configuration file validation (directory, and possible file stat()'s).
*/
typedef struct {
} Rtc_dir;
typedef struct {
} Rtc_file;
#define RTC_VER_NONE 0
#define RTC_VER_CURRENT RTC_VER_FOUR
#define RTC_VER_NUM 5
/*
* Environment variable descriptor. The configuration cache (ch_env) points to
* an array of these descriptors.
*/
typedef struct {
} Rtc_env;
/*
* Filter descriptor. The configuration cache (ch_flt) points to an array of
* these descriptors.
*/
typedef struct {
} Rtc_fltr;
typedef struct {
} Rtc_flte;
#ifdef __cplusplus
}
#endif
#endif /* _RTC_H */