xdr_rejected_reply Subroutine

Purpose

Describes RPC message rejection replies.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>

xdr_rejected_reply ( xdrs,  rr)
XDR *xdrs;
struct rejected_reply *rr;

Description

The xdr_rejected_reply subroutine describes Remote Procedure Call (RPC) message rejection replies. This subroutine can be used to generate rejection replies similar to RPC rejection replies without using the RPC program.

Parameters

Item Description
xdrs Points to the eXternal Data Representation (XDR) stream handle.
rr Points to the structure that contains the rejected reply.

Return Values

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