1 #ifndef	_C_LITERAL_MSG_DOT_H
2 #define	_C_LITERAL_MSG_DOT_H
3 
4 #include <sgsmsg.h>	/* Msg typedef */
5 
6 #ifndef	__lint
7 
8 #define	MSG_SGS_LOCAL_ARRAY	__sgs_msg_libconv_c_literal
9 
10 extern	const char	__sgs_msg_libconv_c_literal[];
11 
12 #define	MSG_ORIG_STRTAB(_x, _s)	&_s[_x]
13 
14 #define	MSG_ORIG(x)	MSG_ORIG_STRTAB(x, __sgs_msg_libconv_c_literal)
15 
16 extern	const char *	_sgs_msg_libconv_c_literal(Msg);
17 
18 #define	MSG_INTL(x)	_sgs_msg_libconv_c_literal(x)
19 
20 
21 #define	MSG_FMT_OCTCONST	1
22 #define	MSG_FMT_OCTCONST_SIZE	5
23 
24 #else	/* __lint */
25 
26 extern	const char *	_sgs_msg_libconv_c_literal(Msg);
27 
28 #ifndef MSG_SGS_LOCAL_ARRAY
29 #define	MSG_SGS_LOCAL_ARRAY	""
30 #endif
31 
32 extern	const char	__sgs_msg_libconv_c_literal[];
33 
34 #define MSG_ORIG_STRTAB(_x, _s)	_x
35 #define MSG_ORIG(x)	x
36 #define MSG_INTL(x)	x
37 
38 #ifndef LINTSUP_SUPPRESS_STRINGS
39 
40 #define	MSG_FMT_OCTCONST	"\\%03o"
41 #define	MSG_FMT_OCTCONST_SIZE	5
42 
43 #endif	/* LINTSUP_SUPPRESS_STRINGS */
44 
45 #endif	/* __lint */
46 
47 #endif
48