1*45916cd2Sjpk /* 2*45916cd2Sjpk * CDDL HEADER START 3*45916cd2Sjpk * 4*45916cd2Sjpk * The contents of this file are subject to the terms of the 5*45916cd2Sjpk * Common Development and Distribution License (the "License"). 6*45916cd2Sjpk * You may not use this file except in compliance with the License. 7*45916cd2Sjpk * 8*45916cd2Sjpk * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*45916cd2Sjpk * or http://www.opensolaris.org/os/licensing. 10*45916cd2Sjpk * See the License for the specific language governing permissions 11*45916cd2Sjpk * and limitations under the License. 12*45916cd2Sjpk * 13*45916cd2Sjpk * When distributing Covered Code, include this CDDL HEADER in each 14*45916cd2Sjpk * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*45916cd2Sjpk * If applicable, add the following below this CDDL HEADER, with the 16*45916cd2Sjpk * fields enclosed by brackets "[]" replaced with your own identifying 17*45916cd2Sjpk * information: Portions Copyright [yyyy] [name of copyright owner] 18*45916cd2Sjpk * 19*45916cd2Sjpk * CDDL HEADER END 20*45916cd2Sjpk */ 21*45916cd2Sjpk /* 22*45916cd2Sjpk * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23*45916cd2Sjpk * Use is subject to license terms. 24*45916cd2Sjpk */ 25*45916cd2Sjpk 26*45916cd2Sjpk #ifndef _CLNT_H 27*45916cd2Sjpk #define _CLNT_H 28*45916cd2Sjpk 29*45916cd2Sjpk #ifdef __cplusplus 30*45916cd2Sjpk extern "C" { 31*45916cd2Sjpk #endif 32*45916cd2Sjpk 33*45916cd2Sjpk #define MAXCOLOR 256 /* Max size of a static color string */ 34*45916cd2Sjpk #define MIN_CMW_LEN 8 /* minimum length of clipped CMW Label */ 35*45916cd2Sjpk #define MIN_SL_LEN 3 /* minimum length of clipped SL */ 36*45916cd2Sjpk #define MIN_IL_LEN 3 /* minimum length of clipped IL */ 37*45916cd2Sjpk #define MIN_CLR_LEN 3 /* minimum length of clipped Clearance */ 38*45916cd2Sjpk 39*45916cd2Sjpk #define ALLOC_CHUNK 1024 /* size of chunk for sb*tos allocs */ 40*45916cd2Sjpk 41*45916cd2Sjpk extern int alloc_string(char **, size_t, char); 42*45916cd2Sjpk extern void set_label_view(uint_t *, uint_t); 43*45916cd2Sjpk #ifdef __cplusplus 44*45916cd2Sjpk } 45*45916cd2Sjpk #endif 46*45916cd2Sjpk 47*45916cd2Sjpk #endif /* _CLNT_H */ 48