[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Communications Technical Reference, Volume 1

xdr_opaque Subroutine

Purpose

Translates between fixed-size opaque data and its external representation.

Library

C Library (libc.a)

Syntax

#include <rpc/xdr.h>
xdr_opaque (xdrs, cp, cnt)
XDR *xdrs;
char *cp;
u_int cnt;

Description

The xdr_opaque subroutine is a filter primitive that translates between fixed-size opaque data and its external representation.

Parameters

xdrs Points to the eXternal Data Representation (XDR) stream handle.
cp Specifies the address of the opaque object.
cnt Specifies the size, in bytes, of the object. By definition, the actual data contained in the opaque object is not machine-portable.

Return Values

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

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

List of XDR Programming References.

eXternal Data Representation (XDR) Overview for Programming and Understanding XDR Library Filter Primitives in AIX Version 4.3 Communications Programming Concepts.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]