1*6bbe0590SSundeep Panicker /* 2*6bbe0590SSundeep Panicker * CDDL HEADER START 3*6bbe0590SSundeep Panicker * 4*6bbe0590SSundeep Panicker * The contents of this file are subject to the terms of the 5*6bbe0590SSundeep Panicker * Common Development and Distribution License (the "License"). 6*6bbe0590SSundeep Panicker * You may not use this file except in compliance with the License. 7*6bbe0590SSundeep Panicker * 8*6bbe0590SSundeep Panicker * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*6bbe0590SSundeep Panicker * or http://www.opensolaris.org/os/licensing. 10*6bbe0590SSundeep Panicker * See the License for the specific language governing permissions 11*6bbe0590SSundeep Panicker * and limitations under the License. 12*6bbe0590SSundeep Panicker * 13*6bbe0590SSundeep Panicker * When distributing Covered Code, include this CDDL HEADER in each 14*6bbe0590SSundeep Panicker * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*6bbe0590SSundeep Panicker * If applicable, add the following below this CDDL HEADER, with the 16*6bbe0590SSundeep Panicker * fields enclosed by brackets "[]" replaced with your own identifying 17*6bbe0590SSundeep Panicker * information: Portions Copyright [yyyy] [name of copyright owner] 18*6bbe0590SSundeep Panicker * 19*6bbe0590SSundeep Panicker * CDDL HEADER END 20*6bbe0590SSundeep Panicker */ 21*6bbe0590SSundeep Panicker 22*6bbe0590SSundeep Panicker /* 23*6bbe0590SSundeep Panicker * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24*6bbe0590SSundeep Panicker * Use is subject to license terms. 25*6bbe0590SSundeep Panicker */ 26*6bbe0590SSundeep Panicker 27*6bbe0590SSundeep Panicker #ifndef _NVFRU_H 28*6bbe0590SSundeep Panicker #define _NVFRU_H 29*6bbe0590SSundeep Panicker 30*6bbe0590SSundeep Panicker #include <sys/types.h> 31*6bbe0590SSundeep Panicker #include <libnvpair.h> 32*6bbe0590SSundeep Panicker 33*6bbe0590SSundeep Panicker #ifdef __cplusplus 34*6bbe0590SSundeep Panicker extern "C" { 35*6bbe0590SSundeep Panicker #endif 36*6bbe0590SSundeep Panicker 37*6bbe0590SSundeep Panicker int rawfru_to_nvlist(uint8_t *, size_t, char *, nvlist_t **); 38*6bbe0590SSundeep Panicker 39*6bbe0590SSundeep Panicker #ifdef __cplusplus 40*6bbe0590SSundeep Panicker } 41*6bbe0590SSundeep Panicker #endif 42*6bbe0590SSundeep Panicker 43*6bbe0590SSundeep Panicker #endif /* _NVFRU_H */ 44