16423Sgw25295 /* 26423Sgw25295 * CDDL HEADER START 36423Sgw25295 * 46423Sgw25295 * The contents of this file are subject to the terms of the 56423Sgw25295 * Common Development and Distribution License (the "License"). 66423Sgw25295 * You may not use this file except in compliance with the License. 76423Sgw25295 * 86423Sgw25295 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 96423Sgw25295 * or http://www.opensolaris.org/os/licensing. 106423Sgw25295 * See the License for the specific language governing permissions 116423Sgw25295 * and limitations under the License. 126423Sgw25295 * 136423Sgw25295 * When distributing Covered Code, include this CDDL HEADER in each 146423Sgw25295 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 156423Sgw25295 * If applicable, add the following below this CDDL HEADER, with the 166423Sgw25295 * fields enclosed by brackets "[]" replaced with your own identifying 176423Sgw25295 * information: Portions Copyright [yyyy] [name of copyright owner] 186423Sgw25295 * 196423Sgw25295 * CDDL HEADER END 206423Sgw25295 */ 216423Sgw25295 /* 22*9790SLin.Ling@Sun.COM * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 236423Sgw25295 * Use is subject to license terms. 246423Sgw25295 */ 256423Sgw25295 266423Sgw25295 #ifndef _SYS_SPA_BOOT_H 276423Sgw25295 #define _SYS_SPA_BOOT_H 286423Sgw25295 296423Sgw25295 #include <sys/nvpair.h> 306423Sgw25295 316423Sgw25295 #ifdef __cplusplus 326423Sgw25295 extern "C" { 336423Sgw25295 #endif 346423Sgw25295 357147Staylor extern char *spa_get_bootprop(char *prop); 367147Staylor extern void spa_free_bootprop(char *prop); 376423Sgw25295 386423Sgw25295 #ifdef __cplusplus 396423Sgw25295 } 406423Sgw25295 #endif 416423Sgw25295 426423Sgw25295 #endif /* _SYS_SPA_BOOT_H */ 43