1 #ifndef	_DEMANGLE_MSG_DOT_H
2 #define	_DEMANGLE_MSG_DOT_H
3 
4 #include <sgsmsg.h>	/* Msg typedef */
5 
6 #ifndef	__lint
7 
8 #define	MSG_SGS_LOCAL_ARRAY	__sgs_msg_libconv_demangle
9 
10 extern	const char	__sgs_msg_libconv_demangle[];
11 
12 #define	MSG_ORIG_STRTAB(_x, _s)	&_s[_x]
13 
14 #define	MSG_ORIG(x)	MSG_ORIG_STRTAB(x, __sgs_msg_libconv_demangle)
15 
16 extern	const char *	_sgs_msg_libconv_demangle(Msg);
17 
18 #define	MSG_INTL(x)	_sgs_msg_libconv_demangle(x)
19 
20 
21 #define	MSG_DEM_SYM	1
22 #define	MSG_DEM_SYM_SIZE	14
23 
24 #define	MSG_DEM_LIB	16
25 #define	MSG_DEM_LIB_SIZE	16
26 
27 #else	/* __lint */
28 
29 extern	const char *	_sgs_msg_libconv_demangle(Msg);
30 
31 #ifndef MSG_SGS_LOCAL_ARRAY
32 #define	MSG_SGS_LOCAL_ARRAY	""
33 #endif
34 
35 extern	const char	__sgs_msg_libconv_demangle[];
36 
37 #define MSG_ORIG_STRTAB(_x, _s)	_x
38 #define MSG_ORIG(x)	x
39 #define MSG_INTL(x)	x
40 
41 #ifndef LINTSUP_SUPPRESS_STRINGS
42 
43 #define	MSG_DEM_SYM	"cplus_demangle"
44 #define	MSG_DEM_SYM_SIZE	14
45 
46 #define	MSG_DEM_LIB	"libdemangle.so.1"
47 #define	MSG_DEM_LIB_SIZE	16
48 
49 #endif	/* LINTSUP_SUPPRESS_STRINGS */
50 
51 #endif	/* __lint */
52 
53 #endif
54