xdr_callmsg Subroutine

Purpose

Describes RPC call messages.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>

xdr_callmsg ( xdrs,  cmsg)
XDR *xdrs;
struct rpc_msg *cmsg;

Description

The xdr_callmsg subroutine describes Remote Procedure Call (RPC) call messages. This subroutine generates messages similar to RPC messages without using the RPC program.

Parameters

Item Description
xdrs Points to the eXternal Data Representation (XDR) stream handle.
cmsg Points to the structure that contains the text of the call message.

Return Values

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