70025d765b044c6d8594bb965a2247a61e991a99johnny * CDDL HEADER START
70025d765b044c6d8594bb965a2247a61e991a99johnny * The contents of this file are subject to the terms of the
70025d765b044c6d8594bb965a2247a61e991a99johnny * Common Development and Distribution License, Version 1.0 only
70025d765b044c6d8594bb965a2247a61e991a99johnny * (the "License"). You may not use this file except in compliance
70025d765b044c6d8594bb965a2247a61e991a99johnny * with the License.
70025d765b044c6d8594bb965a2247a61e991a99johnny * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
70025d765b044c6d8594bb965a2247a61e991a99johnny * See the License for the specific language governing permissions
70025d765b044c6d8594bb965a2247a61e991a99johnny * and limitations under the License.
70025d765b044c6d8594bb965a2247a61e991a99johnny * When distributing Covered Code, include this CDDL HEADER in each
70025d765b044c6d8594bb965a2247a61e991a99johnny * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
70025d765b044c6d8594bb965a2247a61e991a99johnny * If applicable, add the following below this CDDL HEADER, with the
70025d765b044c6d8594bb965a2247a61e991a99johnny * fields enclosed by brackets "[]" replaced with your own identifying
70025d765b044c6d8594bb965a2247a61e991a99johnny * information: Portions Copyright [yyyy] [name of copyright owner]
70025d765b044c6d8594bb965a2247a61e991a99johnny * CDDL HEADER END
70025d765b044c6d8594bb965a2247a61e991a99johnny * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
70025d765b044c6d8594bb965a2247a61e991a99johnny * Use is subject to license terms.
70025d765b044c6d8594bb965a2247a61e991a99johnny#pragma ident "%Z%%M% %I% %E% SMI"
70025d765b044c6d8594bb965a2247a61e991a99johnnyextern "C" {
70025d765b044c6d8594bb965a2247a61e991a99johnny/* .._SYM and .._SYMSTR must match */
70025d765b044c6d8594bb965a2247a61e991a99johnny * these ATTRNM_* correspond to the built-in sysevent.conf macros
70025d765b044c6d8594bb965a2247a61e991a99johnny * Note that the "publisher" macro used by syseventd is only a subset (third
70025d765b044c6d8594bb965a2247a61e991a99johnny * colon-delimited field) of the full publisher-id string specified in an
70025d765b044c6d8594bb965a2247a61e991a99johnny/* be sure to match with dpritab! */
70025d765b044c6d8594bb965a2247a61e991a99johnnytypedef enum {DNONE = 0, DWARN, DINFO, DDEBUG} dlvl_t;
70025d765b044c6d8594bb965a2247a61e991a99johnny/* default set of DR attributes */
70025d765b044c6d8594bb965a2247a61e991a99johnnytypedef struct {
70025d765b044c6d8594bb965a2247a61e991a99johnnytypedef struct {
70025d765b044c6d8594bb965a2247a61e991a99johnnytypedef struct {
70025d765b044c6d8594bb965a2247a61e991a99johnnytypedef int(*pcidr_plugin_t)(nvlist_t *, pcidr_opt_t *);
70025d765b044c6d8594bb965a2247a61e991a99johnnyvoid pcidr_print_attrlist(dlvl_t, nvlist_t *, char *);
70025d765b044c6d8594bb965a2247a61e991a99johnnyint pcidr_check_string(char *, ...);
70025d765b044c6d8594bb965a2247a61e991a99johnnyextern char *prg;
70025d765b044c6d8594bb965a2247a61e991a99johnnyextern char *prg;
70025d765b044c6d8594bb965a2247a61e991a99johnny#endif /* _PCIDR_H */