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