1 #ifndef	_MSG_DOT_H
2 #define	_MSG_DOT_H
3 
4 #include <sgsmsg.h>	/* Msg typedef */
5 
6 #ifndef	__lint
7 
8 #define	MSG_SGS_LOCAL_ARRAY	__ar_msg
9 
10 extern	const char	__ar_msg[];
11 
12 #define	MSG_ORIG_STRTAB(_x, _s)	&_s[_x]
13 
14 #define	MSG_ORIG(x)	MSG_ORIG_STRTAB(x, __ar_msg)
15 
16 extern	const char *	_ar_msg(Msg);
17 
18 #define	MSG_INTL(x)	_ar_msg(x)
19 
20 
21 #define	MSG_USAGE	1
22 #define	MSG_USAGE_SIZE	311
23 
24 #define	MSG_MALLOC	313
25 #define	MSG_MALLOC_SIZE	34
26 
27 #define	MSG_TOOBIG4G	348
28 #define	MSG_TOOBIG4G_SIZE	56
29 
30 #define	MSG_USAGE_01	405
31 #define	MSG_USAGE_01_SIZE	39
32 
33 #define	MSG_USAGE_02	445
34 #define	MSG_USAGE_02_SIZE	28
35 
36 #define	MSG_USAGE_03	474
37 #define	MSG_USAGE_03_SIZE	20
38 
39 #define	MSG_USAGE_04	495
40 #define	MSG_USAGE_04_SIZE	34
41 
42 #define	MSG_USAGE_05	530
43 #define	MSG_USAGE_05_SIZE	27
44 
45 #define	MSG_USAGE_06	558
46 #define	MSG_USAGE_06_SIZE	52
47 
48 #define	MSG_INTERNAL_01	611
49 #define	MSG_INTERNAL_01_SIZE	75
50 
51 #define	MSG_INTERNAL_02	687
52 #define	MSG_INTERNAL_02_SIZE	37
53 
54 #define	MSG_SYS_OPEN	725
55 #define	MSG_SYS_OPEN_SIZE	23
56 
57 #define	MSG_SYS_CLOSE	749
58 #define	MSG_SYS_CLOSE_SIZE	24
59 
60 #define	MSG_SYS_WRITE	774
61 #define	MSG_SYS_WRITE_SIZE	25
62 
63 #define	MSG_SYS_STAT	800
64 #define	MSG_SYS_STAT_SIZE	23
65 
66 #define	MSG_SYS_RENAME	824
67 #define	MSG_SYS_RENAME_SIZE	31
68 
69 #define	MSG_NOT_FOUND_AR	856
70 #define	MSG_NOT_FOUND_AR_SIZE	25
71 
72 #define	MSG_NOT_FOUND_POSNAM	882
73 #define	MSG_NOT_FOUND_POSNAM_SIZE	26
74 
75 #define	MSG_NOT_FOUND_FILE	909
76 #define	MSG_NOT_FOUND_FILE_SIZE	17
77 
78 #define	MSG_ELF_LIB_FILE	927
79 #define	MSG_ELF_LIB_FILE_SIZE	31
80 
81 #define	MSG_ELF_LIB_AR	959
82 #define	MSG_ELF_LIB_AR_SIZE	28
83 
84 #define	MSG_ELF_BEGIN_FILE	988
85 #define	MSG_ELF_BEGIN_FILE_SIZE	30
86 
87 #define	MSG_ELF_GETDATA_FILE	1019
88 #define	MSG_ELF_GETDATA_FILE_SIZE	30
89 
90 #define	MSG_ELF_GETDATA_AR	1050
91 #define	MSG_ELF_GETDATA_AR_SIZE	34
92 
93 #define	MSG_ELF_GETSCN_FILE	1085
94 #define	MSG_ELF_GETSCN_FILE_SIZE	51
95 
96 #define	MSG_ELF_GETSCN_AR	1137
97 #define	MSG_ELF_GETSCN_AR_SIZE	55
98 
99 #define	MSG_ELF_GETSHSTRNDX_FILE	1193
100 #define	MSG_ELF_GETSHSTRNDX_FILE_SIZE	37
101 
102 #define	MSG_ELF_GETSHSTRNDX_AR	1231
103 #define	MSG_ELF_GETSHSTRNDX_AR_SIZE	41
104 
105 #define	MSG_ELF_MALARCHIVE	1273
106 #define	MSG_ELF_MALARCHIVE_SIZE	43
107 
108 #define	MSG_ELF_RAWFILE	1317
109 #define	MSG_ELF_RAWFILE_SIZE	29
110 
111 #define	MSG_ELF_VERSION	1347
112 #define	MSG_ELF_VERSION_SIZE	29
113 
114 #define	MSG_W_ELF_NODATA_FILE	1377
115 #define	MSG_W_ELF_NODATA_FILE_SIZE	43
116 
117 #define	MSG_W_ELF_NODATA_AR	1421
118 #define	MSG_W_ELF_NODATA_AR_SIZE	47
119 
120 #define	MSG_BER_MES_CREATE	1469
121 #define	MSG_BER_MES_CREATE_SIZE	16
122 
123 #define	MSG_BER_MES_WRITE	1486
124 #define	MSG_BER_MES_WRITE_SIZE	15
125 
126 #define	MSG_SYMTAB_01	1502
127 #define	MSG_SYMTAB_01_SIZE	33
128 
129 #define	MSG_SYMTAB_NOSTR_FILE	1536
130 #define	MSG_SYMTAB_NOSTR_FILE_SIZE	44
131 
132 #define	MSG_SYMTAB_NOSTR_AR	1581
133 #define	MSG_SYMTAB_NOSTR_AR_SIZE	48
134 
135 #define	MSG_SYMTAB_NODAT_FILE	1630
136 #define	MSG_SYMTAB_NODAT_FILE_SIZE	35
137 
138 #define	MSG_SYMTAB_NODAT_AR	1666
139 #define	MSG_SYMTAB_NODAT_AR_SIZE	35
140 
141 #define	MSG_SYMTAB_ZDAT_FILE	1702
142 #define	MSG_SYMTAB_ZDAT_FILE_SIZE	46
143 
144 #define	MSG_SYMTAB_ZDAT_AR	1749
145 #define	MSG_SYMTAB_ZDAT_AR_SIZE	46
146 
147 #define	MSG_PATHCONF	1796
148 #define	MSG_PATHCONF_SIZE	48
149 
150 #define	MSG_LOCALTIME	1845
151 #define	MSG_LOCALTIME_SIZE	46
152 
153 #define	MSG_NOT_ARCHIVE	1892
154 #define	MSG_NOT_ARCHIVE_SIZE	29
155 
156 #define	MSG_OVERRIDE_WARN	1922
157 #define	MSG_OVERRIDE_WARN_SIZE	45
158 
159 #define	MSG_ERR_LONGSTRTBLSZ	1968
160 #define	MSG_ERR_LONGSTRTBLSZ_SIZE	66
161 
162 #define	MSG_ERR_MEMBER4G	2035
163 #define	MSG_ERR_MEMBER4G_SIZE	76
164 
165 #define	MSG_STR_OPTIONS	2112
166 #define	MSG_STR_OPTIONS_SIZE	25
167 
168 #define	MSG_SUNW_OST_SGS	2138
169 #define	MSG_SUNW_OST_SGS_SIZE	12
170 
171 #define	MSG_STR_EMPTY	0
172 #define	MSG_STR_EMPTY_SIZE	0
173 
174 #define	MSG_STR_HYPHEN	2151
175 #define	MSG_STR_HYPHEN_SIZE	1
176 
177 #define	MSG_STR_PERIOD	2153
178 #define	MSG_STR_PERIOD_SIZE	1
179 
180 #define	MSG_STR_LCR	2155
181 #define	MSG_STR_LCR_SIZE	1
182 
183 #define	MSG_STR_SLASH	2158
184 #define	MSG_STR_SLASH_SIZE	1
185 
186 #define	MSG_STR_DSLASH	2157
187 #define	MSG_STR_DSLASH_SIZE	2
188 
189 #define	MSG_STR_SYM64	2160
190 #define	MSG_STR_SYM64_SIZE	7
191 
192 #define	MSG_MH_FORMAT	2168
193 #define	MSG_MH_FORMAT_SIZE	33
194 
195 #define	MSG_FMT_VERSION	2202
196 #define	MSG_FMT_VERSION_SIZE	10
197 
198 #define	MSG_FMT_P_TITLE	2213
199 #define	MSG_FMT_P_TITLE_SIZE	7
200 
201 #define	MSG_FMT_T_IDSZ	2221
202 #define	MSG_FMT_T_IDSZ_SIZE	12
203 
204 #define	MSG_FMT_T_DATE	2234
205 #define	MSG_FMT_T_DATE_SIZE	14
206 
207 #define	MSG_FMT_SPSTRSP	2249
208 #define	MSG_FMT_SPSTRSP_SIZE	4
209 
210 #define	MSG_FMT_STRNL	2259
211 #define	MSG_FMT_STRNL_SIZE	3
212 
213 #define	MSG_FMT_FILE	2254
214 #define	MSG_FMT_FILE_SIZE	8
215 
216 #define	MSG_FMT_LLINT	2263
217 #define	MSG_FMT_LLINT_SIZE	5
218 
219 #define	MSG_CMD_SWAP	2269
220 #define	MSG_CMD_SWAP_SIZE	17
221 
222 #define	MSG_STR_MKTEMP	2287
223 #define	MSG_STR_MKTEMP_SIZE	8
224 
225 #else	/* __lint */
226 
227 extern	const char *	_ar_msg(Msg);
228 
229 #ifndef MSG_SGS_LOCAL_ARRAY
230 #define	MSG_SGS_LOCAL_ARRAY	""
231 #endif
232 
233 extern	const char	__ar_msg[];
234 
235 #define MSG_ORIG_STRTAB(_x, _s)	_x
236 #define MSG_ORIG(x)	x
237 #define MSG_INTL(x)	x
238 
239 #ifndef LINTSUP_SUPPRESS_STRINGS
240 
241 #define	MSG_USAGE	"usage: ar -d[-SvV] archive file ...\n       ar -m[-abiSvV] [posname] archive file ...\n       ar -p[-vV][-sS] archive [file ...]\n       ar -q[-cuvSV] [-abi] [posname] [file ...]\n       ar -r[-cuvSV] [-abi] [posname] [file ...]\n       ar -t[-vV][-sS] archive [file ...]\n       ar -x[-vV][-sSCT] archive [file ...]\n"
242 #define	MSG_USAGE_SIZE	311
243 
244 #define	MSG_MALLOC	"ar: could not allocate memory: %s\n"
245 #define	MSG_MALLOC_SIZE	34
246 
247 #define	MSG_TOOBIG4G	"ar: archive size exceeds capabilities of 32-bit process\n"
248 #define	MSG_TOOBIG4G_SIZE	56
249 
250 #define	MSG_USAGE_01	"ar: one of [drqtpmx] must be specified\n"
251 #define	MSG_USAGE_01_SIZE	39
252 
253 #define	MSG_USAGE_02	"ar: -%c requires an operand\n"
254 #define	MSG_USAGE_02_SIZE	28
255 
256 #define	MSG_USAGE_03	"ar: bad option: -%c\n"
257 #define	MSG_USAGE_03_SIZE	20
258 
259 #define	MSG_USAGE_04	"ar: only one of [drqtpmx] allowed\n"
260 #define	MSG_USAGE_04_SIZE	34
261 
262 #define	MSG_USAGE_05	"ar: abi not allowed with q\n"
263 #define	MSG_USAGE_05_SIZE	27
264 
265 #define	MSG_USAGE_06	"ar: %s taken as mandatory 'posname' with keys 'abi'\n"
266 #define	MSG_USAGE_06_SIZE	52
267 
268 #define	MSG_INTERNAL_01	"ar: internal error: cannot tell whether file is included in archive or not\n"
269 #define	MSG_INTERNAL_01_SIZE	75
270 
271 #define	MSG_INTERNAL_02	"ar: internal header generation error\n"
272 #define	MSG_INTERNAL_02_SIZE	37
273 
274 #define	MSG_SYS_OPEN	"ar: cannot open %s: %s\n"
275 #define	MSG_SYS_OPEN_SIZE	23
276 
277 #define	MSG_SYS_CLOSE	"ar: cannot close %s: %s\n"
278 #define	MSG_SYS_CLOSE_SIZE	24
279 
280 #define	MSG_SYS_WRITE	"ar: %s: cannot write: %s\n"
281 #define	MSG_SYS_WRITE_SIZE	25
282 
283 #define	MSG_SYS_STAT	"ar: cannot stat %s: %s\n"
284 #define	MSG_SYS_STAT_SIZE	23
285 
286 #define	MSG_SYS_RENAME	"ar: cannot rename %s to %s: %s\n"
287 #define	MSG_SYS_RENAME_SIZE	31
288 
289 #define	MSG_NOT_FOUND_AR	"ar: archive %s not found\n"
290 #define	MSG_NOT_FOUND_AR_SIZE	25
291 
292 #define	MSG_NOT_FOUND_POSNAM	"ar: posname %s: not found\n"
293 #define	MSG_NOT_FOUND_POSNAM_SIZE	26
294 
295 #define	MSG_NOT_FOUND_FILE	"ar: %s not found\n"
296 #define	MSG_NOT_FOUND_FILE_SIZE	17
297 
298 #define	MSG_ELF_LIB_FILE	"ar: %s caused libelf error: %s\n"
299 #define	MSG_ELF_LIB_FILE_SIZE	31
300 
301 #define	MSG_ELF_LIB_AR	"ar: %s(%s) libelf error: %s\n"
302 #define	MSG_ELF_LIB_AR_SIZE	28
303 
304 #define	MSG_ELF_BEGIN_FILE	"ar: cannot elf_begin() %s: %s\n"
305 #define	MSG_ELF_BEGIN_FILE_SIZE	30
306 
307 #define	MSG_ELF_GETDATA_FILE	"ar: %s has bad elf format: %s\n"
308 #define	MSG_ELF_GETDATA_FILE_SIZE	30
309 
310 #define	MSG_ELF_GETDATA_AR	"ar: %s(%s) has bad elf format: %s\n"
311 #define	MSG_ELF_GETDATA_AR_SIZE	34
312 
313 #define	MSG_ELF_GETSCN_FILE	"ar: %s has no section header or bad elf format: %s\n"
314 #define	MSG_ELF_GETSCN_FILE_SIZE	51
315 
316 #define	MSG_ELF_GETSCN_AR	"ar: %s(%s) has no section header or bad elf format: %s\n"
317 #define	MSG_ELF_GETSCN_AR_SIZE	55
318 
319 #define	MSG_ELF_GETSHSTRNDX_FILE	"ar: %s has no string table index: %s\n"
320 #define	MSG_ELF_GETSHSTRNDX_FILE_SIZE	37
321 
322 #define	MSG_ELF_GETSHSTRNDX_AR	"ar: %s(%s) has no string table index: %s\n"
323 #define	MSG_ELF_GETSHSTRNDX_AR_SIZE	41
324 
325 #define	MSG_ELF_MALARCHIVE	"ar: %s: offset %lld: malformed archive: %s\n"
326 #define	MSG_ELF_MALARCHIVE_SIZE	43
327 
328 #define	MSG_ELF_RAWFILE	"ar: elf_rawfile() failed: %s\n"
329 #define	MSG_ELF_RAWFILE_SIZE	29
330 
331 #define	MSG_ELF_VERSION	"ar: libelf.a out of date: %s\n"
332 #define	MSG_ELF_VERSION_SIZE	29
333 
334 #define	MSG_W_ELF_NODATA_FILE	"ar: %s has no data in section header table\n"
335 #define	MSG_W_ELF_NODATA_FILE_SIZE	43
336 
337 #define	MSG_W_ELF_NODATA_AR	"ar: %s(%s) has no data in section header table\n"
338 #define	MSG_W_ELF_NODATA_AR_SIZE	47
339 
340 #define	MSG_BER_MES_CREATE	"ar: creating %s\n"
341 #define	MSG_BER_MES_CREATE_SIZE	16
342 
343 #define	MSG_BER_MES_WRITE	"ar: writing %s\n"
344 #define	MSG_BER_MES_WRITE_SIZE	15
345 
346 #define	MSG_SYMTAB_01	"ar: symbol table entry size is 0\n"
347 #define	MSG_SYMTAB_01_SIZE	33
348 
349 #define	MSG_SYMTAB_NOSTR_FILE	"ar: %s has no string table for symbol names\n"
350 #define	MSG_SYMTAB_NOSTR_FILE_SIZE	44
351 
352 #define	MSG_SYMTAB_NOSTR_AR	"ar: %s(%s) has no string table for symbol names\n"
353 #define	MSG_SYMTAB_NOSTR_AR_SIZE	48
354 
355 #define	MSG_SYMTAB_NODAT_FILE	"ar: %s has no data in string table\n"
356 #define	MSG_SYMTAB_NODAT_FILE_SIZE	35
357 
358 #define	MSG_SYMTAB_NODAT_AR	"ar: %s(%s) no data in string table\n"
359 #define	MSG_SYMTAB_NODAT_AR_SIZE	35
360 
361 #define	MSG_SYMTAB_ZDAT_FILE	"ar: %s has no data in string table: size is 0\n"
362 #define	MSG_SYMTAB_ZDAT_FILE_SIZE	46
363 
364 #define	MSG_SYMTAB_ZDAT_AR	"ar: %s(%s) no data in string table: size is 0\n"
365 #define	MSG_SYMTAB_ZDAT_AR_SIZE	46
366 
367 #define	MSG_PATHCONF	"ar: -T failed to calculate file name length: %s\n"
368 #define	MSG_PATHCONF_SIZE	48
369 
370 #define	MSG_LOCALTIME	"ar: don't have enough space to store the date\n"
371 #define	MSG_LOCALTIME_SIZE	46
372 
373 #define	MSG_NOT_ARCHIVE	"ar: %s not in archive format\n"
374 #define	MSG_NOT_ARCHIVE_SIZE	29
375 
376 #define	MSG_OVERRIDE_WARN	"ar: %s already exists. Will not be extracted\n"
377 #define	MSG_OVERRIDE_WARN_SIZE	45
378 
379 #define	MSG_ERR_LONGSTRTBLSZ	"ar: archive format limit: long name string table would exceed 4GB\n"
380 #define	MSG_ERR_LONGSTRTBLSZ_SIZE	66
381 
382 #define	MSG_ERR_MEMBER4G	"ar: archive format limit: individual archive members are limited to 4GB: %s\n"
383 #define	MSG_ERR_MEMBER4G_SIZE	76
384 
385 #define	MSG_STR_OPTIONS	":a:b:i:vucsrdxtplmqVCTzMS"
386 #define	MSG_STR_OPTIONS_SIZE	25
387 
388 #define	MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
389 #define	MSG_SUNW_OST_SGS_SIZE	12
390 
391 #define	MSG_STR_EMPTY	""
392 #define	MSG_STR_EMPTY_SIZE	0
393 
394 #define	MSG_STR_HYPHEN	"-"
395 #define	MSG_STR_HYPHEN_SIZE	1
396 
397 #define	MSG_STR_PERIOD	"."
398 #define	MSG_STR_PERIOD_SIZE	1
399 
400 #define	MSG_STR_LCR	"r"
401 #define	MSG_STR_LCR_SIZE	1
402 
403 #define	MSG_STR_SLASH	"/"
404 #define	MSG_STR_SLASH_SIZE	1
405 
406 #define	MSG_STR_DSLASH	"//"
407 #define	MSG_STR_DSLASH_SIZE	2
408 
409 #define	MSG_STR_SYM64	"/SYM64/"
410 #define	MSG_STR_SYM64_SIZE	7
411 
412 #define	MSG_MH_FORMAT	"%-16s%-12d%-6u%-6u%-8o%-10lld%-2s"
413 #define	MSG_MH_FORMAT_SIZE	33
414 
415 #define	MSG_FMT_VERSION	"ar: %s %s\n"
416 #define	MSG_FMT_VERSION_SIZE	10
417 
418 #define	MSG_FMT_P_TITLE	"\n<%s>\n\n"
419 #define	MSG_FMT_P_TITLE_SIZE	7
420 
421 #define	MSG_FMT_T_IDSZ	"%6d/%6d%7lld"
422 #define	MSG_FMT_T_IDSZ_SIZE	12
423 
424 #define	MSG_FMT_T_DATE	"%b %e %H:%M %Y"
425 #define	MSG_FMT_T_DATE_SIZE	14
426 
427 #define	MSG_FMT_SPSTRSP	" %s "
428 #define	MSG_FMT_SPSTRSP_SIZE	4
429 
430 #define	MSG_FMT_STRNL	"%s\n"
431 #define	MSG_FMT_STRNL_SIZE	3
432 
433 #define	MSG_FMT_FILE	"%c - %s\n"
434 #define	MSG_FMT_FILE_SIZE	8
435 
436 #define	MSG_FMT_LLINT	"/%lld"
437 #define	MSG_FMT_LLINT_SIZE	5
438 
439 #define	MSG_CMD_SWAP	"/usr/sbin/swap -s"
440 #define	MSG_CMD_SWAP_SIZE	17
441 
442 #define	MSG_STR_MKTEMP	"arXXXXXX"
443 #define	MSG_STR_MKTEMP_SIZE	8
444 
445 #endif	/* LINTSUP_SUPPRESS_STRINGS */
446 
447 #endif	/* __lint */
448 
449 #endif
450