1*3062Scindi /* 2*3062Scindi * CDDL HEADER START 3*3062Scindi * 4*3062Scindi * The contents of this file are subject to the terms of the 5*3062Scindi * Common Development and Distribution License (the "License"). 6*3062Scindi * You may not use this file except in compliance with the License. 7*3062Scindi * 8*3062Scindi * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*3062Scindi * or http://www.opensolaris.org/os/licensing. 10*3062Scindi * See the License for the specific language governing permissions 11*3062Scindi * and limitations under the License. 12*3062Scindi * 13*3062Scindi * When distributing Covered Code, include this CDDL HEADER in each 14*3062Scindi * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*3062Scindi * If applicable, add the following below this CDDL HEADER, with the 16*3062Scindi * fields enclosed by brackets "[]" replaced with your own identifying 17*3062Scindi * information: Portions Copyright [yyyy] [name of copyright owner] 18*3062Scindi * 19*3062Scindi * CDDL HEADER END 20*3062Scindi */ 21*3062Scindi 22*3062Scindi /* 23*3062Scindi * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24*3062Scindi * Use is subject to license terms. 25*3062Scindi */ 26*3062Scindi 27*3062Scindi #ifndef _HC_H 28*3062Scindi #define _HC_H 29*3062Scindi 30*3062Scindi #pragma ident "%Z%%M% %I% %E% SMI" 31*3062Scindi 32*3062Scindi #ifdef __cplusplus 33*3062Scindi extern "C" { 34*3062Scindi #endif 35*3062Scindi 36*3062Scindi #define HC_VERSION 1 37*3062Scindi #define HC "hc" 38*3062Scindi 39*3062Scindi /* 40*3062Scindi * Array declaring all known canonical HC scheme component names. 41*3062Scindi * Hopefully this file will one day be generated from the event registry 42*3062Scindi * automagically. 43*3062Scindi */ 44*3062Scindi typedef struct hcc { 45*3062Scindi const char *hcc_name; 46*3062Scindi topo_stability_t hcc_stability; 47*3062Scindi } hcc_t; 48*3062Scindi 49*3062Scindi extern int hc_init(topo_mod_t *, topo_version_t); /* see hc.c */ 50*3062Scindi extern void hc_fini(topo_mod_t *); /* see hc.c */ 51*3062Scindi 52*3062Scindi #ifdef __cplusplus 53*3062Scindi } 54*3062Scindi #endif 55*3062Scindi 56*3062Scindi #endif /* _HC_H */ 57