123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- #ifndef _RPC_PMAP_PROT_H
- #define _RPC_PMAP_PROT_H 1
- #include <features.h>
- #include <rpc/xdr.h>
- __BEGIN_DECLS
- #define PMAPPORT ((u_short)111)
- #define PMAPPROG ((u_long)100000)
- #define PMAPVERS ((u_long)2)
- #define PMAPVERS_PROTO ((u_long)2)
- #define PMAPVERS_ORIG ((u_long)1)
- #define PMAPPROC_NULL ((u_long)0)
- #define PMAPPROC_SET ((u_long)1)
- #define PMAPPROC_UNSET ((u_long)2)
- #define PMAPPROC_GETPORT ((u_long)3)
- #define PMAPPROC_DUMP ((u_long)4)
- #define PMAPPROC_CALLIT ((u_long)5)
- struct pmap {
- long unsigned pm_prog;
- long unsigned pm_vers;
- long unsigned pm_prot;
- long unsigned pm_port;
- };
- extern bool_t xdr_pmap (XDR *__xdrs, struct pmap *__regs) __THROW;
- libc_hidden_proto(xdr_pmap)
- struct pmaplist {
- struct pmap pml_map;
- struct pmaplist *pml_next;
- };
- extern bool_t xdr_pmaplist (XDR *__xdrs, struct pmaplist **__rp) __THROW;
- libc_hidden_proto(xdr_pmaplist)
- __END_DECLS
- #endif
|