1 #ifndef	_GLOBALS_MSG_DOT_H
2 #define	_GLOBALS_MSG_DOT_H
3 
4 #include <sgsmsg.h>	/* Msg typedef */
5 
6 #ifndef	__lint
7 
8 #define	MSG_SGS_LOCAL_ARRAY	__sgs_msg_libconv_globals
9 
10 extern	const char	__sgs_msg_libconv_globals[];
11 
12 #define	MSG_ORIG_STRTAB(_x, _s)	&_s[_x]
13 
14 #define	MSG_ORIG(x)	MSG_ORIG_STRTAB(x, __sgs_msg_libconv_globals)
15 
16 extern	const char *	_sgs_msg_libconv_globals(Msg);
17 
18 #define	MSG_INTL(x)	_sgs_msg_libconv_globals(x)
19 
20 
21 #define	MSG_GBL_FMT_DEC_32	1
22 #define	MSG_GBL_FMT_DEC_32_SIZE	3
23 
24 #define	MSG_GBL_FMT_DEC_64	5
25 #define	MSG_GBL_FMT_DEC_64_SIZE	4
26 
27 #define	MSG_GBL_FMT_DECS_32	10
28 #define	MSG_GBL_FMT_DECS_32_SIZE	5
29 
30 #define	MSG_GBL_FMT_DECS_64	16
31 #define	MSG_GBL_FMT_DECS_64_SIZE	6
32 
33 #define	MSG_GBL_FMT_HEX_32	23
34 #define	MSG_GBL_FMT_HEX_32_SIZE	5
35 
36 #define	MSG_GBL_FMT_HEX_64	29
37 #define	MSG_GBL_FMT_HEX_64_SIZE	6
38 
39 #define	MSG_GBL_FMT_HEXS_32	36
40 #define	MSG_GBL_FMT_HEXS_32_SIZE	7
41 
42 #define	MSG_GBL_FMT_HEXS_64	44
43 #define	MSG_GBL_FMT_HEXS_64_SIZE	8
44 
45 #define	MSG_GBL_OSQBRKT	53
46 #define	MSG_GBL_OSQBRKT_SIZE	2
47 
48 #define	MSG_GBL_CSQBRKT	56
49 #define	MSG_GBL_CSQBRKT_SIZE	2
50 
51 #define	MSG_GBL_SEP	54
52 #define	MSG_GBL_SEP_SIZE	1
53 
54 #else	/* __lint */
55 
56 extern	const char *	_sgs_msg_libconv_globals(Msg);
57 
58 #ifndef MSG_SGS_LOCAL_ARRAY
59 #define	MSG_SGS_LOCAL_ARRAY	""
60 #endif
61 
62 extern	const char	__sgs_msg_libconv_globals[];
63 
64 #define MSG_ORIG_STRTAB(_x, _s)	_x
65 #define MSG_ORIG(x)	x
66 #define MSG_INTL(x)	x
67 
68 #ifndef LINTSUP_SUPPRESS_STRINGS
69 
70 #define	MSG_GBL_FMT_DEC_32	"%ld"
71 #define	MSG_GBL_FMT_DEC_32_SIZE	3
72 
73 #define	MSG_GBL_FMT_DEC_64	"%lld"
74 #define	MSG_GBL_FMT_DEC_64_SIZE	4
75 
76 #define	MSG_GBL_FMT_DECS_32	" %ld "
77 #define	MSG_GBL_FMT_DECS_32_SIZE	5
78 
79 #define	MSG_GBL_FMT_DECS_64	" %lld "
80 #define	MSG_GBL_FMT_DECS_64_SIZE	6
81 
82 #define	MSG_GBL_FMT_HEX_32	"0x%lx"
83 #define	MSG_GBL_FMT_HEX_32_SIZE	5
84 
85 #define	MSG_GBL_FMT_HEX_64	"0x%llx"
86 #define	MSG_GBL_FMT_HEX_64_SIZE	6
87 
88 #define	MSG_GBL_FMT_HEXS_32	" 0x%lx "
89 #define	MSG_GBL_FMT_HEXS_32_SIZE	7
90 
91 #define	MSG_GBL_FMT_HEXS_64	" 0x%llx "
92 #define	MSG_GBL_FMT_HEXS_64_SIZE	8
93 
94 #define	MSG_GBL_OSQBRKT	"[ "
95 #define	MSG_GBL_OSQBRKT_SIZE	2
96 
97 #define	MSG_GBL_CSQBRKT	" ]"
98 #define	MSG_GBL_CSQBRKT_SIZE	2
99 
100 #define	MSG_GBL_SEP	" "
101 #define	MSG_GBL_SEP_SIZE	1
102 
103 #endif	/* LINTSUP_SUPPRESS_STRINGS */
104 
105 #endif	/* __lint */
106 
107 #endif
108