1 #ifndef	_SEGMENTS_MSG_DOT_H
2 #define	_SEGMENTS_MSG_DOT_H
3 
4 #include <sgsmsg.h>	/* Msg typedef */
5 
6 #ifndef	__lint
7 
8 #define	MSG_SGS_LOCAL_ARRAY	__sgs_msg_libconv_segments
9 
10 extern	const char	__sgs_msg_libconv_segments[];
11 
12 #define	MSG_ORIG_STRTAB(_x, _s)	&_s[_x]
13 
14 #define	MSG_ORIG(x)	MSG_ORIG_STRTAB(x, __sgs_msg_libconv_segments)
15 
16 extern	const char *	_sgs_msg_libconv_segments(Msg);
17 
18 #define	MSG_INTL(x)	_sgs_msg_libconv_segments(x)
19 
20 
21 #define	MSG_FLG_SG_P_VADDR	1
22 #define	MSG_FLG_SG_P_VADDR_SIZE	14
23 
24 #define	MSG_FLG_SG_P_PADDR	16
25 #define	MSG_FLG_SG_P_PADDR_SIZE	14
26 
27 #define	MSG_FLG_SG_LENGTH	31
28 #define	MSG_FLG_SG_LENGTH_SIZE	13
29 
30 #define	MSG_FLG_SG_P_ALIGN	45
31 #define	MSG_FLG_SG_P_ALIGN_SIZE	14
32 
33 #define	MSG_FLG_SG_ROUND	60
34 #define	MSG_FLG_SG_ROUND_SIZE	12
35 
36 #define	MSG_FLG_SG_P_FLAGS	73
37 #define	MSG_FLG_SG_P_FLAGS_SIZE	14
38 
39 #define	MSG_FLG_SG_P_TYPE	88
40 #define	MSG_FLG_SG_P_TYPE_SIZE	13
41 
42 #define	MSG_FLG_SG_IS_ORDER	102
43 #define	MSG_FLG_SG_IS_ORDER_SIZE	15
44 
45 #define	MSG_FLG_SG_NOHDR	118
46 #define	MSG_FLG_SG_NOHDR_SIZE	12
47 
48 #define	MSG_FLG_SG_EMPTY	131
49 #define	MSG_FLG_SG_EMPTY_SIZE	12
50 
51 #define	MSG_FLG_SG_KEY	144
52 #define	MSG_FLG_SG_KEY_SIZE	10
53 
54 #define	MSG_FLG_SG_NODISABLE	155
55 #define	MSG_FLG_SG_NODISABLE_SIZE	16
56 
57 #define	MSG_FLG_SG_DISABLED	172
58 #define	MSG_FLG_SG_DISABLED_SIZE	15
59 
60 #define	MSG_FLG_SG_PHREQ	188
61 #define	MSG_FLG_SG_PHREQ_SIZE	12
62 
63 #define	MSG_FLG_SG_ORDERED	201
64 #define	MSG_FLG_SG_ORDERED_SIZE	14
65 
66 #define	MSG_GBL_ZERO	216
67 #define	MSG_GBL_ZERO_SIZE	1
68 
69 #else	/* __lint */
70 
71 extern	const char *	_sgs_msg_libconv_segments(Msg);
72 
73 #ifndef MSG_SGS_LOCAL_ARRAY
74 #define	MSG_SGS_LOCAL_ARRAY	""
75 #endif
76 
77 extern	const char	__sgs_msg_libconv_segments[];
78 
79 #define MSG_ORIG_STRTAB(_x, _s)	_x
80 #define MSG_ORIG(x)	x
81 #define MSG_INTL(x)	x
82 
83 #ifndef LINTSUP_SUPPRESS_STRINGS
84 
85 #define	MSG_FLG_SG_P_VADDR	"FLG_SG_P_VADDR"
86 #define	MSG_FLG_SG_P_VADDR_SIZE	14
87 
88 #define	MSG_FLG_SG_P_PADDR	"FLG_SG_P_PADDR"
89 #define	MSG_FLG_SG_P_PADDR_SIZE	14
90 
91 #define	MSG_FLG_SG_LENGTH	"FLG_SG_LENGTH"
92 #define	MSG_FLG_SG_LENGTH_SIZE	13
93 
94 #define	MSG_FLG_SG_P_ALIGN	"FLG_SG_P_ALIGN"
95 #define	MSG_FLG_SG_P_ALIGN_SIZE	14
96 
97 #define	MSG_FLG_SG_ROUND	"FLG_SG_ROUND"
98 #define	MSG_FLG_SG_ROUND_SIZE	12
99 
100 #define	MSG_FLG_SG_P_FLAGS	"FLG_SG_P_FLAGS"
101 #define	MSG_FLG_SG_P_FLAGS_SIZE	14
102 
103 #define	MSG_FLG_SG_P_TYPE	"FLG_SG_P_TYPE"
104 #define	MSG_FLG_SG_P_TYPE_SIZE	13
105 
106 #define	MSG_FLG_SG_IS_ORDER	"FLG_SG_IS_ORDER"
107 #define	MSG_FLG_SG_IS_ORDER_SIZE	15
108 
109 #define	MSG_FLG_SG_NOHDR	"FLG_SG_NOHDR"
110 #define	MSG_FLG_SG_NOHDR_SIZE	12
111 
112 #define	MSG_FLG_SG_EMPTY	"FLG_SG_EMPTY"
113 #define	MSG_FLG_SG_EMPTY_SIZE	12
114 
115 #define	MSG_FLG_SG_KEY	"FLG_SG_KEY"
116 #define	MSG_FLG_SG_KEY_SIZE	10
117 
118 #define	MSG_FLG_SG_NODISABLE	"FLG_SG_NODISABLE"
119 #define	MSG_FLG_SG_NODISABLE_SIZE	16
120 
121 #define	MSG_FLG_SG_DISABLED	"FLG_SG_DISABLED"
122 #define	MSG_FLG_SG_DISABLED_SIZE	15
123 
124 #define	MSG_FLG_SG_PHREQ	"FLG_SG_PHREQ"
125 #define	MSG_FLG_SG_PHREQ_SIZE	12
126 
127 #define	MSG_FLG_SG_ORDERED	"FLG_SG_ORDERED"
128 #define	MSG_FLG_SG_ORDERED_SIZE	14
129 
130 #define	MSG_GBL_ZERO	"0"
131 #define	MSG_GBL_ZERO_SIZE	1
132 
133 #endif	/* LINTSUP_SUPPRESS_STRINGS */
134 
135 #endif	/* __lint */
136 
137 #endif
138