pmap_getmaps()
Format
#include <rpc.h>
#include <pmap_pro.h>
#include <pmap_cln.h>
struct pmaplist *
pmap_getmaps(addr)
struct sockaddr_in *addr;
Parameters
- addr
- Indicates the pointer to the Internet address of the foreign host.
Usage
The pmap_getmaps() call returns a list of current program-to-port mappings on the foreign host specified by addr.
Return codes
Returns a pointer to a pmaplist structure, or NULL.
Context
- getrpcport()
- pmap_getport()
- pmap_rmtcall()
- pmap_set()
- pmap_unset()