123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- #ifndef _RPC_PMAP_CLNT_H
- #define _RPC_PMAP_CLNT_H 1
- #include <features.h>
- #include <rpc/types.h>
- #include <rpc/xdr.h>
- #include <rpc/clnt.h>
- __BEGIN_DECLS
- typedef bool_t (*resultproc_t) (caddr_t resp, struct sockaddr_in *raddr);
- extern bool_t pmap_set (const u_long __program, const u_long __vers,
- int __protocol, u_short __port) __THROW;
- libc_hidden_proto(pmap_set)
- extern bool_t pmap_unset (const u_long __program, const u_long __vers)
- __THROW;
- libc_hidden_proto(pmap_unset)
- extern struct pmaplist *pmap_getmaps (struct sockaddr_in *__address) __THROW;
- extern enum clnt_stat pmap_rmtcall (struct sockaddr_in *__addr,
- const u_long __prog,
- const u_long __vers,
- const u_long __proc,
- xdrproc_t __xdrargs,
- caddr_t __argsp, xdrproc_t __xdrres,
- caddr_t __resp, struct timeval __tout,
- u_long *__port_ptr) __THROW;
- extern enum clnt_stat clnt_broadcast (const u_long __prog,
- const u_long __vers,
- const u_long __proc, xdrproc_t __xargs,
- caddr_t __argsp, xdrproc_t __xresults,
- caddr_t __resultsp,
- resultproc_t __eachresult) __THROW;
- extern u_short pmap_getport (struct sockaddr_in *__address,
- const u_long __program,
- const u_long __version, u_int __protocol)
- __THROW;
- libc_hidden_proto(pmap_getport)
- __END_DECLS
- #endif
|