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
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
|
#
# 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
#
#pragma ident "%Z%%M% %I% %E% SMI"
#
# lib/libnsl/spec/rpc.spec
function auth_destroy
include <rpc/rpc.h>
declaration void auth_destroy(AUTH *auth)
version SUNW_0.7
end
function authnone_create
include <rpc/rpc.h>
declaration AUTH *authnone_create(void)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function authsys_create
include <rpc/rpc.h>
declaration AUTH *authsys_create(const char *host, const uid_t uid, \
const gid_t gid, const int len, const gid_t *aup_gids)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function authsys_create_default
include <rpc/rpc.h>
declaration AUTH *authsys_create_default(void)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function clnt_call
include <rpc/rpc.h>
declaration enum clnt_stat clnt_call(CLIENT *clnt, const rpcproc_t procnum,\
const xdrproc_t inproc, const caddr_t in, \
const xdrproc_t outproc, caddr_t out, \
const struct timeval tout)
version SUNW_0.7
exception $return != RPC_SUCCESS
end
function rpc_broadcast_exp
include <rpc/rpc.h>
declaration enum clnt_stat rpc_broadcast_exp(const rpcprog_t prognum, \
const rpcvers_t versnum, const rpcproc_t procnum, \
const xdrproc_t xargs, caddr_t argsp, \
const xdrproc_t xresults, caddr_t resultsp, \
const resultproc_t eachresult, const int inittime,\
const int waittime, const char *nettype)
version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return != RPC_SUCCESS
end
function rpc_call
include <rpc/rpc.h>
declaration enum clnt_stat rpc_call(const char *host, \
const rpcprog_t prognum, const rpcvers_t versnum,\
const rpcproc_t procnum, const xdrproc_t inproc, \
const char *in, const xdrproc_t outproc, \
char *out, const char *nettype)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return != RPC_SUCCESS
end
function clnt_freeres
include <rpc/rpc.h>
declaration bool_t clnt_freeres(CLIENT *clnt, \
const xdrproc_t outproc, caddr_t out)
version SUNW_0.7
exception $return == 0
end
function clnt_geterr
include <rpc/rpc.h>
declaration void clnt_geterr(const CLIENT *clnt, struct rpc_err *errp)
version SUNW_0.7
end
function clnt_perrno
include <rpc/rpc.h>
declaration void clnt_perrno(const enum clnt_stat stat)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function clnt_perror
include <rpc/rpc.h>
declaration void clnt_perror(const CLIENT *clnt, const char *s)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function clnt_sperrno
include <rpc/rpc.h>
declaration const char *clnt_sperrno(const enum clnt_stat stat)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function clnt_sperror
include <rpc/rpc.h>
declaration char *clnt_sperror(const CLIENT *clnt, const char *s)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function rpc_broadcast
include <rpc/rpc.h>
declaration enum clnt_stat rpc_broadcast(const rpcprog_t prognum, \
const rpcvers_t versnum, const rpcproc_t procnum, \
const xdrproc_t inproc, const caddr_t in,\
const xdrproc_t outproc, caddr_t out, \
const resultproc_t eachresult, const char *nettype)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return != RPC_SUCCESS
end
function clnt_control
include <rpc/rpc.h>
declaration bool_t clnt_control(CLIENT *clnt, const u_int req, char *info)
version SUNW_0.7
exception $return == FALSE
end
function clnt_create
include <rpc/rpc.h>
declaration CLIENT *clnt_create(const char *host, \
const rpcprog_t prognum, const rpcvers_t versnum, \
const char *nettype)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function clnt_create_service_timed
include <rpc/rpc.h>
declaration CLIENT *clnt_create_service_timed(const char *host, \
const char *service, const rpcprog_t prognum, \
const rpcvers_t versnum, const ushort_t port, \
const char *nettype, const struct timeval *timeout)
version SUNWprivate_1.5
exception $return == 0
end
function clnt_create_timed
include <rpc/rpc.h>
declaration CLIENT *clnt_create_timed(const char *host, \
const rpcprog_t prognum, const rpcvers_t versnum, \
const char *nettype, const struct timeval *timeout)
version SUNW_0.9
exception $return == 0
end
function clnt_create_vers
include <rpc/rpc.h>
declaration CLIENT *clnt_create_vers(const char *host, \
const rpcprog_t prognum, rpcvers_t *vers_outp, \
const rpcvers_t vers_low, const rpcvers_t vers_high, \
const char *nettype)
version SUNW_0.7
exception $return == 0
end
function clnt_create_vers_timed
include <rpc/rpc.h>
declaration CLIENT *clnt_create_vers_timed(const char *host, \
const rpcprog_t prognum, rpcvers_t *vers_outp, \
const rpcvers_t vers_low, const rpcvers_t vers_high, \
const char *nettype, const struct timeval *timeout)
version SUNW_1.1
exception $return == 0
end
function clnt_destroy
include <rpc/rpc.h>
declaration void clnt_destroy(CLIENT *clnt)
version SUNW_0.7
end
function clnt_dg_create
include <rpc/rpc.h>
declaration CLIENT *clnt_dg_create(const int fildes, \
struct netbuf *svcaddr, \
const rpcprog_t prognum, const rpcvers_t versnum, \
const uint_t sendsz, const uint_t recvsz)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function clnt_pcreateerror
include <rpc/rpc.h>
declaration void clnt_pcreateerror(const char *s)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function clnt_raw_create
include <rpc/rpc.h>
declaration CLIENT *clnt_raw_create(const rpcprog_t prognum, \
const rpcvers_t versnum)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function clnt_spcreateerror
include <rpc/rpc.h>
declaration char *clnt_spcreateerror(const char *s)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function clnt_tli_create
include <rpc/rpc.h>
declaration CLIENT *clnt_tli_create(const int fildes, \
const struct netconfig *netconf, \
struct netbuf *svcaddr, \
const rpcprog_t prognum, const rpcvers_t versnum, \
const uint_t sendsz, const uint_t recvsz)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function clnt_tp_create
include <rpc/rpc.h>
declaration CLIENT *clnt_tp_create(const char *host, \
const rpcprog_t prognum, const rpcvers_t versnum, \
const struct netconfig *netconf)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function clnt_tp_create_timed
include <rpc/rpc.h>
declaration CLIENT *clnt_tp_create_timed(const char *host, \
const rpcprog_t prognum, const rpcvers_t versnum, \
const struct netconfig *netconf, \
const struct timeval *timeout)
version SUNW_0.9
exception $return == 0
end
function clnt_vc_create
include <rpc/rpc.h>
declaration CLIENT *clnt_vc_create(const int fildes, \
struct netbuf *svcaddr, \
const rpcprog_t prognum, const rpcvers_t versnum, \
const uint_t sendsz, const uint_t recvsz)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function rpc_control
include <rpc/types.h>, <rpc/rpc_com.h>
declaration bool_t rpc_control(int op,void *info)
version SUNW_0.8
exception $return == FALSE
end
function authdes_create
include <rpc/rpc.h>
declaration AUTH * authdes_create(char *name, unsigned window, \
struct sockaddr *syncaddr, des_block *ckey)
version SUNW_0.7
exception $return == 0
end
function authdes_lock
version SUNW_0.7
end
function get_myaddress
include <rpc/rpc.h>
declaration void get_myaddress(struct sockaddr_in *addr)
version SUNW_0.7
end
function getrpcport
include <rpc/rpc.h>
declaration void getrpcport(char *host, int prognum, int versnum, \
int proto)
version SUNW_0.9
end
function pmap_getmaps
include <rpc/rpc.h>, <rpc/pmap_prot.h>
declaration struct pmaplist *pmap_getmaps(struct sockaddr_in *addr)
version SUNW_0.7
exception $return == 0
end
function pmap_getport
include <rpc/rpc.h>
declaration u_short pmap_getport(struct sockaddr_in *addr, \
rpcprog_t prognum, rpcvers_t versnum, rpcprot_t protocol)
version SUNW_0.7
exception $return == 0
end
function pmap_rmtcall
include <rpc/rpc.h>
declaration enum clnt_stat pmap_rmtcall(struct sockaddr_in *addr, \
rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum, \
char *in, xdrproc_t inproc, char *out, \
xdrproc_t outproc, struct timeval tout, rpcport_t *portp)
version SUNW_0.7
exception $return != RPC_SUCCESS
end
function pmap_set
include <rpc/rpc.h>
declaration bool_t pmap_set(rpcprog_t prognum, rpcvers_t versnum, \
rpcprot_t protocol, u_short port)
version SUNW_0.7
exception $return == FALSE
end
function pmap_unset
include <rpc/rpc.h>
declaration bool_t pmap_unset(rpcprog_t prognum, rpcvers_t versnum)
version SUNW_0.7
exception $return == FALSE
end
function svc_getreq
include <rpc/rpc.h>
declaration void svc_getreq(int rdfds)
version SUNW_0.7
end
function svcfd_create
include <rpc/rpc.h>
declaration SVCXPRT *svcfd_create(int fd, u_int sendsz, u_int recvsz)
version SUNW_0.7
exception $return == 0
end
function svc_fdset
version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function _new_svc_fdset
arch i386 sparc
version SUNW_1.1
end
function svcraw_create
include <rpc/rpc.h>
declaration SVCXPRT * svcraw_create(void)
version SUNW_0.7
exception $return == 0
end
function svctcp_create
include <rpc/rpc.h>
declaration SVCXPRT *svctcp_create(int fd, u_int sendsz, u_int recvsz)
version SUNW_0.7
exception $return == 0
end
function svcudp_bufcreate
include <rpc/rpc.h>
declaration SVCXPRT *svcudp_bufcreate(int fd, u_int sendsz, u_int recvsz)
version SUNW_0.7
exception $return == 0
end
function svcudp_create
include <rpc/rpc.h>
declaration SVCXPRT * svcudp_create(int fd)
version SUNW_0.7
exception $return == 0
end
function registerrpc
include <rpc/rpc.h>
declaration int registerrpc(rpcprog_t prognum, rpcvers_t versnum, \
rpcproc_t procnum, char *(*procname)(), xdrproc_t inproc, \
xdrproc_t outproc)
version SUNW_0.7
exception $return == -1
end
function svc_register
include <rpc/rpc.h>
declaration int svc_register(SVCXPRT *xprt, rpcprog_t prognum, \
rpcvers_t versnum, void *dispatch)
version SUNW_0.7
exception $return == 0
end
function svc_unregister
include <rpc/rpc.h>
declaration void svc_unregister(rpcprog_t prognum, rpcvers_t versnum)
version SUNW_0.7
end
function callrpc
include <rpc/rpc.h>
declaration int callrpc(char *host, rpcprog_t prognum, rpcvers_t versnum, \
rpcproc_t procnum, xdrproc_t inproc, char *in, \
xdrproc_t outproc, char *out)
version SUNW_0.7
exception $return == 0
end
function clnt_broadcast
include <rpc/rpc.h>
declaration enum clnt_stat clnt_broadcast(rpcprog_t prognum, \
rpcvers_t versnum, rpcproc_t procnum, \
xdrproc_t inproc, char *in, xdrproc_t outproc, \
char *out, resultproc_t eachresult)
version SUNW_0.7
exception $return != RPC_SUCCESS
end
function clnt_door_create
version SUNW_1.1
end
function clntraw_create
include <rpc/rpc.h>
declaration CLIENT *clntraw_create(rpcprog_t prognum, rpcvers_t versnum)
version SUNW_0.7
exception $return == 0
end
function clnttcp_create
include <rpc/rpc.h>
declaration CLIENT *clnttcp_create(struct sockaddr_in *addr, \
rpcprog_t prognum, rpcvers_t versnum, int *fdp, \
u_int sendsz, u_int recvsz)
version SUNW_0.7
exception $return == 0
end
function clntudp_bufcreate
include <rpc/rpc.h>
declaration CLIENT *clntudp_bufcreate(struct sockaddr_in *addr, \
rpcprog_t prognum, rpcvers_t versnum, \
struct timeval wait, int *fdp, \
u_int sendsz, u_int recvsz)
version SUNW_0.7
exception $return == 0
end
function clntudp_create
include <rpc/rpc.h>
declaration CLIENT *clntudp_create(struct sockaddr_in *addr, \
rpcprog_t prognum, rpcvers_t versnum, \
struct timeval wait, int *fdp)
version SUNW_0.7
exception $return == 0
end
function svc_dg_enablecache
include <rpc/rpc.h>
declaration int svc_dg_enablecache(SVCXPRT *xprt, \
const uint_t cache_size)
version SUNW_0.7
exception $return == 0
end
function svc_run
include <rpc/rpc.h>
declaration void svc_run(void)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function svc_sendreply
include <rpc/rpc.h>
declaration bool_t svc_sendreply(const SVCXPRT *xprt, \
const xdrproc_t outproc, const caddr_t out)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == FALSE
end
function svc_done
include <rpc/rpc.h>
declaration void svc_done(SVCXPRT *xprt)
version SUNW_0.8
end
function svc_exit
include <rpc/rpc.h>
declaration void svc_exit(void)
version SUNW_0.7
end
function svc_freeargs
include <rpc/rpc.h>
declaration bool_t svc_freeargs(const SVCXPRT *xprt, \
const xdrproc_t inproc, caddr_t in)
version SUNW_0.7
exception $return == FALSE
end
function svc_getargs
include <rpc/rpc.h>
declaration bool_t svc_getargs(const SVCXPRT *xprt, \
const xdrproc_t inproc, caddr_t in)
version SUNW_0.7
exception $return == FALSE
end
function svc_getreq_common
include <rpc/rpc.h>
declaration void svc_getreq_common(const int fd)
version SUNW_0.7
end
function svc_getreq_poll
include <rpc/rpc.h>
declaration void svc_getreq_poll(struct pollfd *pfdp, \
const int pollretval)
version SUNW_0.7
end
function svc_getreqset
include <rpc/rpc.h>
declaration void svc_getreqset(fd_set *rdfds)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function svc_getrpccaller
include <rpc/rpc.h>
declaration struct netbuf *svc_getrpccaller(const SVCXPRT *xprt)
version SUNW_0.7
exception $return == 0
end
function svc_control
include <rpc/rpc.h>
declaration bool_t svc_control(SVCXPRT *svc, const u_int req, void *info)
version SUNW_0.7
exception $return == FALSE
end
function svc_create
include <rpc/rpc.h>
declaration int svc_create(void (*dispatch)(struct svc_req *, \
SVCXPRT *), const rpcprog_t prognum, \
const rpcvers_t versnum, const char *nettype);
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function svc_destroy
include <rpc/rpc.h>
declaration void svc_destroy(SVCXPRT *xprt)
version SUNW_0.7
end
function svc_dg_create
include <rpc/rpc.h>
declaration SVCXPRT *svc_dg_create(const int fildes, \
const u_int sendsz, const u_int recvsz)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function svc_fd_create
include <rpc/rpc.h>
declaration SVCXPRT *svc_fd_create(const int fildes, \
const u_int sendsz, const u_int recvsz)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function svc_raw_create
include <rpc/rpc.h>
declaration SVCXPRT *svc_raw_create(void)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function svc_tli_create
include <rpc/rpc.h>
declaration SVCXPRT *svc_tli_create(const int fildes, \
const struct netconfig *netconf, \
const struct t_bind *bindaddr, \
const u_int sendsz, const u_int recvsz)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function svc_tp_create
include <rpc/rpc.h>
declaration SVCXPRT *svc_tp_create(void (*dispatch)(struct svc_req *, \
SVCXPRT *), const rpcprog_t prognum, \
const rpcvers_t versnum, const struct netconfig *netconf);
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function svc_vc_create
include <rpc/rpc.h>
declaration SVCXPRT *svc_vc_create(const int fildes, \
const u_int sendsz, const u_int recvsz)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function svcerr_auth
include <rpc/rpc.h>
declaration void svcerr_auth(const SVCXPRT *xprt, const enum auth_stat why)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function svcerr_decode
include <rpc/rpc.h>
declaration void svcerr_decode(const SVCXPRT *xprt)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function svcerr_noproc
include <rpc/rpc.h>
declaration void svcerr_noproc(const SVCXPRT *xprt)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function svcerr_noprog
include <rpc/rpc.h>
declaration void svcerr_noprog(const SVCXPRT *xprt)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function svcerr_progvers
include <rpc/rpc.h>
declaration void svcerr_progvers(const SVCXPRT *xprt, \
rpcvers_t low_vers, rpcvers_t high_vers)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function svcerr_systemerr
include <rpc/rpc.h>
declaration void svcerr_systemerr(const SVCXPRT *xprt)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function svcerr_weakauth
include <rpc/rpc.h>
declaration void svcerr_weakauth(const SVCXPRT *xprt)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function rpc_reg
include <rpc/rpc.h>
declaration bool_t rpc_reg(const rpcprog_t prognum, \
const rpcvers_t versnum, const rpcproc_t procnum, \
char * (*procname)(char *), const xdrproc_t inproc, \
const xdrproc_t outproc, const char *nettype)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == -1
end
function svc_reg
include <rpc/rpc.h>
declaration int svc_reg(const SVCXPRT *xprt, const rpcprog_t prognum, \
const rpcvers_t versnum, void (*dispatch)(), \
const struct netconfig *netconf)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function svc_unreg
include <rpc/rpc.h>
declaration void svc_unreg(const rpcprog_t prognum, const rpcvers_t versnum)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function svc_auth_reg
include <rpc/rpc.h>
declaration int svc_auth_reg(int cred_flavor, enum auth_stat (*handler)())
version SUNW_0.7
exception $return != 0
end
function svc_door_create
version SUNW_1.1
end
function svc_get_local_cred
version SUNWprivate_1.1
end
function svc_max_pollfd
version SUNW_1.1
end
function svc_pollfd
version SUNW_1.1
end
function xprt_register
include <rpc/rpc.h>
declaration void xprt_register(const SVCXPRT *xprt)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function xprt_unregister
include <rpc/rpc.h>
declaration void xprt_unregister(const SVCXPRT *xprt)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function xdr_accepted_reply
include <rpc/rpc.h>
declaration bool_t xdr_accepted_reply(XDR *xdrs, \
struct accepted_reply *ar)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == FALSE
end
function xdr_authsys_parms
include <rpc/rpc.h>
declaration bool_t xdr_authsys_parms(XDR *xdrs, struct authsys_parms *aupp)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == FALSE
end
function xdr_callhdr
include <rpc/rpc.h>
declaration bool_t xdr_callhdr(XDR *xdrs, struct rpc_msg *chdr)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function xdr_callmsg
include <rpc/rpc.h>
declaration bool_t xdr_callmsg(XDR *xdrs, struct rpc_msg *cmsg)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == FALSE
end
function xdr_opaque_auth
include <rpc/rpc.h>
declaration bool_t xdr_opaque_auth(XDR *xdrs, struct opaque_auth *ap)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == FALSE
end
function xdr_rejected_reply
include <rpc/rpc.h>
declaration bool_t xdr_rejected_reply(XDR *xdrs, \
struct rejected_reply *rr)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == FALSE
end
function xdr_replymsg
include <rpc/rpc.h>
declaration bool_t xdr_replymsg(XDR *xdrs, struct rpc_msg *rmsg)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == FALSE
end
data rpc_createerr
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
end
function __rpc_createerr
version SUNW_0.7
end
function rpc_gss_get_error
version SUNW_1.1
end
function rpc_gss_get_mech_info
version SUNW_1.1
end
function rpc_gss_get_mechanisms
version SUNW_1.1
end
function rpc_gss_get_principal_name
version SUNW_1.1
end
function rpc_gss_get_versions
version SUNW_1.1
end
function rpc_gss_getcred
version SUNW_1.1
end
function rpc_gss_is_installed
version SUNW_1.1
end
function rpc_gss_max_data_length
version SUNW_1.1
end
function rpc_gss_mech_to_oid
version SUNW_1.1
end
function rpc_gss_qop_to_num
version SUNW_1.1
end
function rpc_gss_seccreate
version SUNW_1.1
end
function rpc_gss_set_callback
version SUNW_1.1
end
function rpc_gss_set_defaults
version SUNW_1.1
end
function rpc_gss_set_svc_name
version SUNW_1.1
end
function rpc_gss_svc_max_data_length
version SUNW_1.1
end
function rpcb_getmaps
include <rpc/rpc.h>
declaration rpcblist *rpcb_getmaps \
(const struct netconfig *netconf, const char *host)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function rpcb_getaddr
include <rpc/rpc.h>
declaration bool_t rpcb_getaddr(const rpcprog_t prognum, \
const rpcvers_t versnum, \
const struct netconfig *netconf, \
struct netbuf *svcaddr, const char *host)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == FALSE
end
function rpcb_gettime
include <rpc/rpc.h>
declaration bool_t rpcb_gettime(const char *host, time_t *timep)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == FALSE
end
function rpcb_rmtcall
include <rpc/rpc.h>
declaration enum clnt_stat rpcb_rmtcall(const struct netconfig *netconf, \
const char *host, const rpcprog_t prognum, \
const rpcvers_t versnum, const rpcproc_t procnum, \
const xdrproc_t inproc, const caddr_t in, \
const xdrproc_t outproc, caddr_t out, \
const struct timeval tout, struct netbuf *svcaddr)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return != RPC_SUCCESS
end
function rpcb_set
include <rpc/rpc.h>
declaration bool_t rpcb_set(const rpcprog_t prognum, \
const rpcvers_t versnum, \
const struct netconfig *netconf, \
const struct netbuf *svcaddr)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == FALSE
end
function rpcb_unset
include <rpc/rpc.h>
declaration bool_t rpcb_unset(const rpcprog_t prognum, \
const rpcvers_t versnum, \
const struct netconfig *netconf)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == FALSE
end
function authdes_getucred
include <rpc/rpc.h>, <sys/types.h>
declaration int authdes_getucred(const struct authdes_cred *adc, \
uid_t *uidp, gid_t *gidp, short *gidlenp, \
gid_t *gidlist)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function netname2host
include <rpc/rpc.h>, <sys/types.h>
declaration int netname2host(const char *name, char *host, \
const int hostlen)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function netname2user
include <rpc/rpc.h>, <sys/types.h>
declaration int netname2user(const char *name, uid_t *uidp, \
gid_t *gidp, int *gidlenp, gid_t *gidlist)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function user2netname
include <rpc/rpc.h>, <sys/types.h>
declaration int user2netname(char *name, const uid_t uid, \
const char *domain)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function authdes_seccreate
include <rpc/rpc.h>, <sys/types.h>
declaration AUTH *authdes_seccreate(const char *name, \
const unsigned int window, const char *timehost, \
const des_block *ckey)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function getnetname
include <rpc/rpc.h>, <sys/types.h>
declaration int getnetname(char *name)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function host2netname
include <rpc/rpc.h>, <sys/types.h>
declaration int host2netname(char *name, const char *host, \
const char *domain)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == 0
end
function key_decryptsession
include <rpc/rpc.h>, <sys/types.h>
declaration int key_decryptsession(const char *remotename, \
des_block *deskey)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == -1
end
function key_encryptsession
include <rpc/rpc.h>, <sys/types.h>
declaration int key_encryptsession(const char *remotename, \
des_block *deskey)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == -1
end
function key_gendes
include <rpc/rpc.h>, <sys/types.h>
declaration int key_gendes(des_block *deskey)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == -1
end
function key_setsecret
include <rpc/rpc.h>, <sys/types.h>
declaration int key_setsecret(const char *key)
version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
exception $return == -1
end
function key_secretkey_is_set
include <rpc/rpc.h>, <sys/types.h>
declaration int key_secretkey_is_set(void)
version SUNW_0.7
exception $return == 0
end
function endrpcent
version SUNW_0.7
end
function maxbno
version SUNW_0.7
end
function clnt_send
include <rpc/rpc.h>, <sys/types.h>
declaration enum clnt_stat clnt_send(CLIENT *clnt, rpcproc_t procnum, \
xdrproc_t proc, const caddr_t in)
version SUNW_1.8
exception $return != RPC_SUCCESS
end
function svc_add_input
include <rpc/rpc.h>
declaration int svc_add_input(int user_fd, unsigned int user_events, \
void (*user_callback)(int id, int fd, \
unsigned int events, void* cookie), void* user_cookie)
version SUNW_1.8
exception $return != -1
end
function svc_remove_input
include <rpc/rpc.h>
declaration int svc_remove_input(int id)
version SUNW_1.8
exception $return != -1
end
function svc_fd_negotiate_ucred
include <rpc/rpc.h>
declaration void svc_fd_negotiate_ucred(int fd)
version SUNW_1.9
end
function svc_getcallerucred
include <rpc/rpc.h>
declaration int svc_getcallerucred(const SVCXPRT *xprt, \
struct ucred_s **ucred)
version SUNW_1.9
end
|