xref: /illumos-gate/usr/src/lib/libfru/libnvfru/nvfru.h (revision c69f580f)
16bbe0590SSundeep Panicker /*
26bbe0590SSundeep Panicker  * CDDL HEADER START
36bbe0590SSundeep Panicker  *
46bbe0590SSundeep Panicker  * The contents of this file are subject to the terms of the
56bbe0590SSundeep Panicker  * Common Development and Distribution License (the "License").
66bbe0590SSundeep Panicker  * You may not use this file except in compliance with the License.
76bbe0590SSundeep Panicker  *
86bbe0590SSundeep Panicker  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
96bbe0590SSundeep Panicker  * or http://www.opensolaris.org/os/licensing.
106bbe0590SSundeep Panicker  * See the License for the specific language governing permissions
116bbe0590SSundeep Panicker  * and limitations under the License.
126bbe0590SSundeep Panicker  *
136bbe0590SSundeep Panicker  * When distributing Covered Code, include this CDDL HEADER in each
146bbe0590SSundeep Panicker  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
156bbe0590SSundeep Panicker  * If applicable, add the following below this CDDL HEADER, with the
166bbe0590SSundeep Panicker  * fields enclosed by brackets "[]" replaced with your own identifying
176bbe0590SSundeep Panicker  * information: Portions Copyright [yyyy] [name of copyright owner]
186bbe0590SSundeep Panicker  *
196bbe0590SSundeep Panicker  * CDDL HEADER END
206bbe0590SSundeep Panicker  */
216bbe0590SSundeep Panicker 
226bbe0590SSundeep Panicker /*
236bbe0590SSundeep Panicker  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
246bbe0590SSundeep Panicker  * Use is subject to license terms.
256bbe0590SSundeep Panicker  */
266bbe0590SSundeep Panicker 
276bbe0590SSundeep Panicker #ifndef _NVFRU_H
286bbe0590SSundeep Panicker #define	_NVFRU_H
296bbe0590SSundeep Panicker 
306bbe0590SSundeep Panicker #include <sys/types.h>
316bbe0590SSundeep Panicker #include <libnvpair.h>
326bbe0590SSundeep Panicker 
33*c69f580fSSundeep Panicker #ifdef __cplusplus
346bbe0590SSundeep Panicker extern "C" {
356bbe0590SSundeep Panicker #endif
366bbe0590SSundeep Panicker 
37d946b6ceSSundeep Panicker extern int rawfru_to_nvlist(uint8_t *, size_t, char *, nvlist_t **);
386bbe0590SSundeep Panicker 
39*c69f580fSSundeep Panicker #ifdef __cplusplus
40*c69f580fSSundeep Panicker }
416bbe0590SSundeep Panicker #endif
426bbe0590SSundeep Panicker 
436bbe0590SSundeep Panicker #endif /* _NVFRU_H */
44