[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Communications Technical Reference, Volume 1

pmap_getmaps Subroutine

Purpose

Returns a list of the current Remote Procedure Call (RPC) program-to-port mappings on the host.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>
struct pmaplist *pmap_getmaps (addr)
struct sockaddr_in *addr;

Description

The pmap_getmaps subroutine acts as a user interface to the portmap daemon. The subroutine returns a list of the current RPC program-to-port mappings on the host located at the Internet Protocol (IP) address pointed to by the addr parameter.

Note: The rpcinfo -p command calls this subroutine.

Parameters

addr Specifies the address where the machine's IP address is placed.

Return Values

If there is no list of current RPC programs, this procedure returns a value of null.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The pmap_set subroutine, pmap_unset subroutine, svc_register subroutine.

The rpcinfo command.

The portmap daemon.

List of RPC Programming References.

Remote Procedure Call (RPC) Overview for Programming in AIX Version 4.3 Communications Programming Concepts.


[ Previous | Next | Contents | Glossary | Home | Search ]