1*9273SAli.Bahrami@Sun.COM /* 2*9273SAli.Bahrami@Sun.COM * CDDL HEADER START 3*9273SAli.Bahrami@Sun.COM * 4*9273SAli.Bahrami@Sun.COM * The contents of this file are subject to the terms of the 5*9273SAli.Bahrami@Sun.COM * Common Development and Distribution License (the "License"). 6*9273SAli.Bahrami@Sun.COM * You may not use this file except in compliance with the License. 7*9273SAli.Bahrami@Sun.COM * 8*9273SAli.Bahrami@Sun.COM * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*9273SAli.Bahrami@Sun.COM * or http://www.opensolaris.org/os/licensing. 10*9273SAli.Bahrami@Sun.COM * See the License for the specific language governing permissions 11*9273SAli.Bahrami@Sun.COM * and limitations under the License. 12*9273SAli.Bahrami@Sun.COM * 13*9273SAli.Bahrami@Sun.COM * When distributing Covered Code, include this CDDL HEADER in each 14*9273SAli.Bahrami@Sun.COM * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*9273SAli.Bahrami@Sun.COM * If applicable, add the following below this CDDL HEADER, with the 16*9273SAli.Bahrami@Sun.COM * fields enclosed by brackets "[]" replaced with your own identifying 17*9273SAli.Bahrami@Sun.COM * information: Portions Copyright [yyyy] [name of copyright owner] 18*9273SAli.Bahrami@Sun.COM * 19*9273SAli.Bahrami@Sun.COM * CDDL HEADER END 20*9273SAli.Bahrami@Sun.COM */ 21*9273SAli.Bahrami@Sun.COM /* 22*9273SAli.Bahrami@Sun.COM * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23*9273SAli.Bahrami@Sun.COM * Use is subject to license terms. 24*9273SAli.Bahrami@Sun.COM */ 25*9273SAli.Bahrami@Sun.COM 26*9273SAli.Bahrami@Sun.COM #ifndef _SGSMSG_DOT_H 27*9273SAli.Bahrami@Sun.COM #define _SGSMSG_DOT_H 28*9273SAli.Bahrami@Sun.COM 29*9273SAli.Bahrami@Sun.COM #ifdef __cplusplus 30*9273SAli.Bahrami@Sun.COM extern "C" { 31*9273SAli.Bahrami@Sun.COM #endif 32*9273SAli.Bahrami@Sun.COM 33*9273SAli.Bahrami@Sun.COM #ifndef __lint 34*9273SAli.Bahrami@Sun.COM 35*9273SAli.Bahrami@Sun.COM /* 36*9273SAli.Bahrami@Sun.COM * In normal operation, sgsmsg generates an ELF-format string table 37*9273SAli.Bahrami@Sun.COM * for strings, and Msg is an integer offset into that table. 38*9273SAli.Bahrami@Sun.COM */ 39*9273SAli.Bahrami@Sun.COM typedef int Msg; 40*9273SAli.Bahrami@Sun.COM 41*9273SAli.Bahrami@Sun.COM #else /* __lint */ 42*9273SAli.Bahrami@Sun.COM 43*9273SAli.Bahrami@Sun.COM /* 44*9273SAli.Bahrami@Sun.COM * When __lint is defined, Msg is a char *. This allows lint to 45*9273SAli.Bahrami@Sun.COM * check our format strings against its arguments. 46*9273SAli.Bahrami@Sun.COM */ 47*9273SAli.Bahrami@Sun.COM typedef char *Msg; 48*9273SAli.Bahrami@Sun.COM 49*9273SAli.Bahrami@Sun.COM #endif /* __lint */ 50*9273SAli.Bahrami@Sun.COM 51*9273SAli.Bahrami@Sun.COM 52*9273SAli.Bahrami@Sun.COM #ifdef __cplusplus 53*9273SAli.Bahrami@Sun.COM } 54*9273SAli.Bahrami@Sun.COM #endif 55*9273SAli.Bahrami@Sun.COM 56*9273SAli.Bahrami@Sun.COM #endif /* _SGSMSG_DOT_H */ 57