xdr_pmap Subroutine

Purpose

Describes parameters for portmap procedures.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>

xdr_pmap ( xdrs,  regs)
XDR *xdrs;
struct pmap *regs;

Description

The xdr_pmap subroutine describes parameters for portmap procedures. This subroutine generates portmap parameters without using the portmap interface.

Parameters

Item Description
xdrs Points to the eXternal Data Representation (XDR) stream handle.
regs Points to the buffer or register where the portmap daemon stores information.

Return Values

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