zonestat_private.h revision 2
/*
* 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 _ZONESTAT_PRIVATE_H
#define _ZONESTAT_PRIVATE_H
#include <zonestat.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Private libzonestat interfaces used by the zonestat command.
*
* INTERFACES DEFINED IN THIS FILE DO NOT CONSTITUTE A PUBLIC INTERFACE.
*
* Do not consume these interfaces; your program will break in the future
* (even in a patch) if you do.
*/
/*
* The usage set is for computations on multiple usage structures to describe
* a range of time.
*/
typedef enum zs_compute_enum {
} zs_compute_t;
typedef enum zs_compute_set_enum {
ZS_COMPUTE_SET_TOTAL = 1,
typedef struct zs_usage_set *zs_usage_set_t;
typedef struct zs_datalink *zs_datalink_t;
typedef struct zs_link_zone *zs_link_zone_t;
/* functions for manipulating sets of usage data: zs_usage_set */
void zs_usage_set_free(zs_usage_set_t);
/* functions for a datalink's per-link usage: zs_datalink */
#ifdef __cplusplus
}
#endif
#endif /* _ZONESTAT_PRIVATE_H */