xdr_pmaplist Subroutine

Purpose

Describes a list of port mappings externally.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>

xdr_pmaplist ( xdrs,  rp)
XDR *xdrs;
struct pmaplist **rp;

Description

The xdr_pmaplist subroutine describes a list of port mappings externally. This subroutine generates the port mappings to Remote Procedure Call (RPC) ports without using the portmap interface.

Parameters

Item Description
xdrs Points to the eXternal Data Representation (XDR) stream handle.
rp Points to the structure that contains the portmap listings.

Return Values

Upon successful completion, this subroutine returns a value of 1. If unsuccessful, it returns a value of 0.