1 #ifndef	_MAP_MSG_DOT_H
2 #define	_MAP_MSG_DOT_H
3 
4 #include <sgsmsg.h>	/* Msg typedef */
5 
6 #ifndef	__lint
7 
8 #define	MSG_SGS_LOCAL_ARRAY	__sgs_msg_libconv_map
9 
10 extern	const char	__sgs_msg_libconv_map[];
11 
12 #define	MSG_ORIG_STRTAB(_x, _s)	&_s[_x]
13 
14 #define	MSG_ORIG(x)	MSG_ORIG_STRTAB(x, __sgs_msg_libconv_map)
15 
16 extern	const char *	_sgs_msg_libconv_map(Msg);
17 
18 #define	MSG_INTL(x)	_sgs_msg_libconv_map(x)
19 
20 
21 #define	MSG_VER_NONE	1
22 #define	MSG_VER_NONE_SIZE	4
23 
24 #define	MSG_VER_SYSV	6
25 #define	MSG_VER_SYSV_SIZE	4
26 
27 #define	MSG_VER_SOLARIS	11
28 #define	MSG_VER_SOLARIS_SIZE	7
29 
30 #else	/* __lint */
31 
32 extern	const char *	_sgs_msg_libconv_map(Msg);
33 
34 #ifndef MSG_SGS_LOCAL_ARRAY
35 #define	MSG_SGS_LOCAL_ARRAY	""
36 #endif
37 
38 extern	const char	__sgs_msg_libconv_map[];
39 
40 #define MSG_ORIG_STRTAB(_x, _s)	_x
41 #define MSG_ORIG(x)	x
42 #define MSG_INTL(x)	x
43 
44 #ifndef LINTSUP_SUPPRESS_STRINGS
45 
46 #define	MSG_VER_NONE	"none"
47 #define	MSG_VER_NONE_SIZE	4
48 
49 #define	MSG_VER_SYSV	"SysV"
50 #define	MSG_VER_SYSV_SIZE	4
51 
52 #define	MSG_VER_SOLARIS	"Solaris"
53 #define	MSG_VER_SOLARIS_SIZE	7
54 
55 #endif	/* LINTSUP_SUPPRESS_STRINGS */
56 
57 #endif	/* __lint */
58 
59 #endif
60