xdr_callhdr Subroutine

Purpose

Describes RPC call header messages.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>

xdr_callhdr ( xdrs,  chdr)
XDR *xdrs;
struct rpc_msg *chdr;

Description

The xdr_callhdr subroutine describes Remote Procedure Call (RPC) call header messages. This subroutine generates call headers that are similar to RPC call headers without using the RPC program.

Parameters

Item Description
xdrs Points to the eXternal Data Representation (XDR) stream handle.
chdr Points to the structure that contains the header for the call message.

Return Values

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