1*2712Snn35248 /* 2*2712Snn35248 * CDDL HEADER START 3*2712Snn35248 * 4*2712Snn35248 * The contents of this file are subject to the terms of the 5*2712Snn35248 * Common Development and Distribution License (the "License"). 6*2712Snn35248 * You may not use this file except in compliance with the License. 7*2712Snn35248 * 8*2712Snn35248 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*2712Snn35248 * or http://www.opensolaris.org/os/licensing. 10*2712Snn35248 * See the License for the specific language governing permissions 11*2712Snn35248 * and limitations under the License. 12*2712Snn35248 * 13*2712Snn35248 * When distributing Covered Code, include this CDDL HEADER in each 14*2712Snn35248 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*2712Snn35248 * If applicable, add the following below this CDDL HEADER, with the 16*2712Snn35248 * fields enclosed by brackets "[]" replaced with your own identifying 17*2712Snn35248 * information: Portions Copyright [yyyy] [name of copyright owner] 18*2712Snn35248 * 19*2712Snn35248 * CDDL HEADER END 20*2712Snn35248 */ 21*2712Snn35248 /* 22*2712Snn35248 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23*2712Snn35248 * Use is subject to license terms. 24*2712Snn35248 */ 25*2712Snn35248 26*2712Snn35248 #ifndef _LIBBRAND_IMPL_H 27*2712Snn35248 #define _LIBBRAND_IMPL_H 28*2712Snn35248 29*2712Snn35248 #pragma ident "%Z%%M% %I% %E% SMI" 30*2712Snn35248 31*2712Snn35248 #include <libxml/xmlmemory.h> 32*2712Snn35248 #include <libxml/parser.h> 33*2712Snn35248 #include <libbrand.h> 34*2712Snn35248 35*2712Snn35248 #ifdef __cplusplus 36*2712Snn35248 extern "C" { 37*2712Snn35248 #endif 38*2712Snn35248 39*2712Snn35248 struct brand_handle { 40*2712Snn35248 char bh_name[MAXNAMELEN]; 41*2712Snn35248 xmlDocPtr bh_config; 42*2712Snn35248 xmlDocPtr bh_platform; 43*2712Snn35248 }; 44*2712Snn35248 45*2712Snn35248 #define BRAND_DIR "/usr/lib/brand" 46*2712Snn35248 #define BRAND_CONFIG "config.xml" 47*2712Snn35248 #define BRAND_PLATFORM "platform.xml" 48*2712Snn35248 49*2712Snn35248 #ifdef __cplusplus 50*2712Snn35248 } 51*2712Snn35248 #endif 52*2712Snn35248 53*2712Snn35248 #endif /* _LIBBRAND_IMPL_H */ 54