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