1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
|
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# ident "%Z%%M% %I% %E% SMI"
#
# lib/libadm/spec/adm.spec
# OA&M Device Managment
function devattr
declaration char *devattr( char *device, char *attribute)
version SUNWprivate_1.1
end
# OA&M Device Managment
function devfree
declaration int devfree(int key, char *device)
version SUNWprivate_1.1
end
# OA&M Device Managment
function devreserv
declaration char **devreserv(int key, char **rsvlist[])
version SUNWprivate_1.1
end
# OA&M Device Managment
function getdev
declaration char **getdev(char **devices, char **criteria, int options)
version SUNWprivate_1.1
end
# OA&M Device Managment
function getdgrp
declaration char **getdgrp(char **dgroups, char **criteria, int options)
version SUNWprivate_1.1
end
# OA&M Device Managment
function getvol
declaration int getvol(char *device, char *label, int options, char *prompt)
version SUNWprivate_1.1
end
# OA&M Device Managment
function listdev
declaration char **listdev(char *device)
version SUNWprivate_1.1
end
# OA&M Device Managment
function listdgrp
declaration char **listdgrp(char *dgroup)
version SUNWprivate_1.1
end
# OA&M Device Managment
function reservdev
include <sys/types.h>, <devmgmt.h>
declaration struct reservdev **reservdev(void)
version SUNWprivate_1.1
end
# VTOC reading/writing
function read_vtoc
include <sys/types.h>, <sys/vtoc.h>
declaration int read_vtoc(int fd, struct vtoc *vtoc)
version SUNW_0.7
exception $return < 0
end
# VTOC reading/writing
function write_vtoc
include <sys/types.h>, <sys/vtoc.h>
declaration int write_vtoc(int fd, struct vtoc *vtoc)
version SUNW_0.7
exception $return < 0
end
# Regular Expressions =============================================
#
# It was a mistake ever to have exported these symbols from libadm:
# advance
# circf
# compile
# loc1
# loc2
# locs
# nbra
# sed
# step
# They are now being redirected to libgen where they really belong,
# except for 'circf' and 'sed', which do not exist in libgen and
# are being retained as dummy variables in libadm.
#
# This corrects a mistake of the past. Never compound the mistake
# by adding another 'arch' value to these symbols.
function advance extends libgen/spec/gen.spec
arch i386 sparc sparcv9
version SUNWprivate_1.1
filter libgen.so.1
end
data circf
arch i386 sparc sparcv9
version SUNW_0.7
end
function compile extends libgen/spec/gen.spec compile
arch i386 sparc sparcv9
version SUNWprivate_1.1
filter libgen.so.1
end
data loc1
arch i386 sparc
version SUNW_0.7
filter libgen.so.1 S0x4
end
data loc1
arch sparcv9
version SUNW_0.7
filter libgen.so.1 S0x8
end
data loc2
arch i386 sparc
version SUNW_0.7
filter libgen.so.1 S0x4
end
data loc2
arch sparcv9
version SUNW_0.7
filter libgen.so.1 S0x8
end
data locs
arch i386 sparc
version SUNW_0.7
filter libgen.so.1 S0x4
end
data locs
arch sparcv9
version SUNW_0.7
filter libgen.so.1 S0x8
end
data nbra
arch i386 sparc sparcv9
version SUNW_0.7
filter libgen.so.1 S0x4
end
data sed
arch i386 sparc sparcv9
version SUNW_0.7
end
function step extends libgen/spec/gen.spec
arch i386 sparc sparcv9
version SUNWprivate_1.1
filter libgen.so.1
end
# End Regular Expressions =========================================
# Packaging Stuff
data pkgdir
version SUNW_0.7
end
# Packaging Stuff
function pkginfo
include <pkginfo.h>, <valtools.h>
declaration int pkginfo(struct pkginfo *info, char *pkginst, ...)
version SUNWprivate_1.1
end
# Packaging Stuff
function set_ABI_namelngth
include <pkginfo.h>, <valtools.h>
declaration void set_ABI_namelngth(void)
version SUNWprivate_1.1
end
# Packaging Stuff
function get_ABI_namelngth
include <pkginfo.h>, <valtools.h>
declaration int get_ABI_namelngth(void)
version SUNWprivate_1.1
end
# Packaging Stuff
function pkgnmchk
include <pkginfo.h>, <valtools.h>
declaration int pkgnmchk(char *pkg, char *spec, int presvr4flg)
version SUNWprivate_1.1
end
# Packaging Stuff
function pkgparam
include <pkginfo.h>, <valtools.h>
declaration char *pkgparam( char *pkg, char *param)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function fpkginfo
declaration int fpkginfo(struct pkginfo *info, char *pkginst)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
data ckquit
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function ckpath
declaration int ckpath(char *pathval, int pflags, char *defstr, \
char *error, char *help, char *prompt)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function ckyorn
declaration int ckyorn(char *yorn, char *defstr, char *error, \
char *help, char *prompt)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function _getvol
declaration int _getvol(char *device, char *label, int options, \
char *prompt, char *norewind)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function ckitem
declaration int ckitem(CKMENU *menup, char *item[], short max, \
char *defstr, char *error, char *help, char *prompt)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function fpkginst
declaration char *fpkginst(char *pkg, ... )
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function get_install_root
declaration char *get_install_root(void)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function set_install_root
declaration void set_install_root(char *path)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function get_PKGADM
declaration char *get_PKGADM(void)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function set_PKGpaths
declaration void set_PKGpaths(char *path)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function fpkgparam
declaration char *fpkgparam(FILE *fp, char *param)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function allocmenu
declaration CKMENU *allocmenu(char *label, int attr)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function setinvis
declaration int setinvis(CKMENU *menup, char *choice)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function puttext
declaration int puttext(FILE *fp, char *str, int lmarg, int rmarg)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgadd
function setitem
declaration int setitem(CKMENU *menup, char *choice)
version SUNWprivate_1.1
end
# cmd/oampkg/pkginstall
function get_PKGOLD
declaration char * get_PKGOLD(void)
version SUNWprivate_1.1
end
# cmd/oampkg/pkginstall
function get_PKGLOC
declaration char * get_PKGLOC(void)
version SUNWprivate_1.1
end
function set_PKGADM
declaration void set_PKGADM(char *newpath)
version SUNWprivate_1.1
end
function set_PKGLOC
declaration void set_PKGLOC(char *newpath)
version SUNWprivate_1.1
end
function getinput
declaration int getinput(char *s)
version SUNWprivate_1.1
end
# cmd/oampkg/pkginstall
function printmenu
declaration void printmenu(CKMENU *menup)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgrm
function ckstr
declaration int ckstr(char *strval, char *regexp[], int length, \
char *defstr, char *error, char *help, char *prompt)
version SUNWprivate_1.1
end
# cmd/oampkg/pkgparam
data pkgfile
version SUNWprivate_1.1
end
# cmd/volmgt/util
function getfullrawname
declaration char * getfullrawname(char *cp)
version SUNWprivate_1.1
end
# cmd/volmgt/util
function getfullblkname
declaration char * getfullblkname(char *cp)
version SUNWprivate_1.1
end
# cmd/devmgt/de
function _devtabpath
declaration char * _devtabpath(void)
version SUNWprivate_1.1
end
# cmd/devmgt/de
function _opendevtab
declaration int _opendevtab(char *mode)
version SUNWprivate_1.1
end
# cmd/devmgt/de
function _rsvtabpath
declaration char * _rsvtabpath(void)
version SUNWprivate_1.1
end
# cmd/devmgt/ge
data ckwidth
version SUNWprivate_1.1
end
# cmd/devmgt/putdgrp
function _dgrptabpath
declaration char * _dgrptabpath(void)
version SUNWprivate_1.1
end
# cmd/devmgt/putdgrp
function _rmdgrpmems
declaration int _rmdgrpmems( char *dgrp, char **mems, char ***notfounds)
version SUNWprivate_1.1
end
# cmd/devmgt/putdgrp
function _rmdgrptabrec
declaration int _rmdgrptabrec(char *dgrp)
version SUNWprivate_1.1
end
# cmd/devmgt/putdgrp
function _adddgrptabrec
declaration int _adddgrptabrec( char *dgrp, char **members)
version SUNWprivate_1.1
end
# cmd/devmgmt/libstrgrp
function _opendgrptab
declaration int _opendgrptab(char *mode)
version SUNWprivate_1.1
end
# cmd/devmgt/putdev
function _rmdevtabrec
declaration int _rmdevtabrec(char *device)
version SUNWprivate_1.1
end
# cmd/devmgt/putdev
function _adddevtabrec
declaration int _adddevtabrec( char *alias, char **attrval)
version SUNWprivate_1.1
end
# cmd/devmgt/putdev
function _rmdevtabattrs
declaration int _rmdevtabattrs( char *device, char **attributes, char ***notfounds)
version SUNWprivate_1.1
end
# cmd/devmgt/putdev
function _validalias
declaration int _validalias(char *alias)
version SUNWprivate_1.1
end
# cmd/devmgt/putdev
function _moddevtabrec
declaration int _moddevtabrec( char *device, char **attrval)
version SUNWprivate_1.1
end
# cmd/devmgmt/mkdtab
function _enddevtab
declaration void _enddevtab(void)
version SUNWprivate_1.1
end
# cmd/valtools
function ckint
declaration int ckint(long *intval, short base, char *defstr, \
char *error, char *help, char *prompt)
version SUNWprivate_1.1
end
# cmd/valtools
function ckint_hlp
declaration void ckint_hlp(short base, char *help)
version SUNWprivate_1.1
end
# cmd/valtools
function ckint_val
declaration int ckint_val(char *value, short base)
version SUNWprivate_1.1
end
# cmd/valtools
data ckindent
version SUNWprivate_1.1
end
# cmd/valtools
function ckint_err
declaration void ckint_err(short base, char *error)
version SUNWprivate_1.1
end
# cmd/valtools
function ckitem_hlp
declaration void ckitem_hlp(CKMENU *menup, char *help)
version SUNWprivate_1.1
end
# cmd/valtools
function ckitem_err
declaration void ckitem_err(CKMENU *menup, char *error)
version SUNWprivate_1.1
end
# cmd/valtools
function ckpath_stx
declaration int ckpath_stx(int pflags)
version SUNWprivate_1.1
end
# cmd/valtools
function ckpath_hlp
declaration void ckpath_hlp(int pflags, char *help)
version SUNWprivate_1.1
end
# cmd/valtools
function ckpath_val
declaration int ckpath_val(char *path, int pflags)
version SUNWprivate_1.1
end
# cmd/valtools
function ckpath_err
declaration void ckpath_err(int pflags, char *error, char *input)
version SUNWprivate_1.1
end
# cmd/valtools
function ckrange_hlp
declaration void ckrange_hlp(long lower, long upper, int base, char *help)
version SUNWprivate_1.1
end
# cmd/valtools
function ckrange_err
declaration void ckrange_err(long lower, long upper, int base, char *error)
version SUNWprivate_1.1
end
# cmd/valtools
function ckrange_val
declaration int ckrange_val(long lower, long upper, int base, char *input)
version SUNWprivate_1.1
end
# cmd/valtools
function ckrange
declaration int ckrange(long *rngval, long lower, long upper, \
short base, char *defstr, char *error, \
char *help, char *prompt)
# cmd/valtools
version SUNWprivate_1.1
end
# cmd/valtools
function ckstr_hlp
declaration void ckstr_hlp(char *regexp[], int length, char *help)
version SUNWprivate_1.1
end
# cmd/valtools
function ckstr_val
declaration int ckstr_val(char *regexp[], int length, char *input)
version SUNWprivate_1.1
end
# cmd/valtools
function ckstr_err
declaration void ckstr_err(char *regexp[], int length, \
char *error, char *input)
version SUNWprivate_1.1
end
# cmd/valtools
function ckyorn_hlp
declaration void ckyorn_hlp(char *help)
version SUNWprivate_1.1
end
# cmd/valtools
function ckyorn_val
declaration int ckyorn_val(char *str)
version SUNWprivate_1.1
end
# cmd/valtools
function ckyorn_err
declaration void ckyorn_err(char *error)
version SUNWprivate_1.1
end
# cmd/valtools
function ckkeywd
declaration int ckkeywd(char *strval, char *keyword[], \
char *defstr, char *error, char *help, char *prompt)
version SUNWprivate_1.1
end
# cmd/valtools
function ckdate_hlp
declaration int ckdate_hlp(char *fmt, char *hlp)
version SUNWprivate_1.1
end
# cmd/valtools
function ckdate_val
declaration int ckdate_val(char *fmt, char *input)
version SUNWprivate_1.1
end
# cmd/valtools
function ckdate
declaration int ckdate(char *date, char *fmt, char *defstr, \
char *error, char *help, char *prompt)
version SUNWprivate_1.1
end
# cmd/valtools
function ckdate_err
declaration int ckdate_err(char *fmt, char *error)
version SUNWprivate_1.1
end
# cmd/valtools
function cktime_hlp
declaration int cktime_hlp(char *fmt, char *help)
version SUNWprivate_1.1
end
# cmd/valtools
function cktime_val
declaration int cktime_val(char *fmt, char *input)
version SUNWprivate_1.1
end
# cmd/valtools
function cktime_err
declaration int cktime_err(char *fmt, char *error)
version SUNWprivate_1.1
end
# cmd/valtools
function cktime
declaration int cktime(char *tod, char *fmt, char *defstr, \
char *error, char *help, char *prompt)
version SUNWprivate_1.1
end
# cmd/valtools
function ckuid
declaration int ckuid(char *uid, short disp, char *defstr, \
char *error, char *help, char *prompt)
version SUNWprivate_1.1
end
# cmd/valtools
function ckuid_hlp
declaration void ckuid_hlp(int disp, char *help)
version SUNWprivate_1.1
end
# cmd/valtools
function ckuid_dsp
declaration int ckuid_dsp(void)
version SUNWprivate_1.1
end
# cmd/valtools
function ckuid_val
declaration int ckuid_val(char *usrnm)
version SUNWprivate_1.1
end
# cmd/valtools
function ckuid_err
declaration void ckuid_err(short disp, char *error)
version SUNWprivate_1.1
end
# cmd/valtools
function ckgid_err
declaration void ckgid_err(int disp, char *error)
version SUNWprivate_1.1
end
# cmd/valtools
function ckgid
declaration int ckgid(char *gid, short disp, char *defstr, \
char *error, char *help, char *prompt)
version SUNWprivate_1.1
end
# cmd/valtools
function ckgid_hlp
declaration void ckgid_hlp(int disp, char *help)
version SUNWprivate_1.1
end
# cmd/valtools
function ckgid_dsp
declaration int ckgid_dsp(void)
version SUNWprivate_1.1
end
# cmd/valtools
function ckgid_val
declaration int ckgid_val(char *grpnm)
version SUNWprivate_1.1
end
# required by pkginfo
function pkginfofind
declaration int pkginfofind(char *path, char *pkg_dir, char *pkginst)
version SUNWprivate_1.1
end
function puterror
declaration void puterror(FILE *fp, char *defmesg, char *error)
version SUNWprivate_1.1
end
function puthelp
declaration void puthelp(FILE *fp, char *defmesg, char *help)
version SUNWprivate_1.1
end
function putprmpt
declaration void putprmpt(FILE *fp, char *prompt, \
char *choices[], char *defstr)
version SUNWprivate_1.1
end
|