xdr_accepted_reply Subroutine

Purpose

Encodes RPC reply messages.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>

int xdr_accepted_reply ( xdrs,  ar)
XDR *xdrs;
struct accepted_reply *ar;

Description

The xdr_accepted_reply subroutine encodes Remote Procedure Call (RPC) reply messages. The routine generates message replies similar to RPC message replies without using the RPC program.

Parameters

Item Description
xdrs Points to the eXternal Data Representation (XDR) stream handle.
ar Specifies the address of the structure that contains the RPC reply.

Return Values

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