ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/rpc6.htm

97 lines
7.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>External Data Representation APIs</title>
<!-- Begin Header Records ========================================= -->
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<!-- NETMG2 SCRIPT A converted by B2H R4.1 (346) (CMS) by HOLTJM at -->
<!-- RCHVMW2 on 29 Jan 1999 at 10:01:37 -->
<!-- File restructured for V5R2 -->
<!-- 031111 JETAYLOR replaced API and/or Exit listings with -->
<!-- pagegenerator output from javascript array -->
<!-- End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<a name="Top_Of_Page"></a>
<!-- Java sync-link -->
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
</script>
<h2>External Data Representation APIs</h2>
<p>The eXternal Data Representation (XDR) functions define a uniform way to
represent data types and define a language that can describe data structures of
arbitrary complexity in a standard way.</p>
<p>All XDR APIs can translate data in two directions:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><strong>Serializing</strong></td>
<td align="left" valign="top">Translation from a local machine data
representation to canonical XDR form.</td>
</tr>
<tr>
<td align="left" valign="top"><strong>Deserializing</strong></td>
<td align="left" valign="top">Translation from canonical XDR form to a local
machine representation.</td>
</tr>
</table>
<p>The eXternal Data Representation APIs are:</p>
<!-- ***** NOTE ***** Do not manually update text or links in this section. -->
<!-- Updates made in this section *will* be overlaid by automated tools -->
<!-- Notify User Technologies of needed updates to be made in XML for API finder.-->
<!--***************API BEGIN PASTE***************-->
<ul>
<li><A HREF="xdr_array.htm">xdr_array()</A> (Translate between arrays and their XDR) is a filter primitive that translates between variable-length arrays and their corresponding external representations.</li>
<li><A HREF="xdr_bool.htm">xdr_bool()</A> (Translate between Booleans and their XDR) is a filter primitive that translates between Booleans (C integers) and their external representations.</li>
<li><A HREF="xdr_bytes.htm">xdr_bytes()</A> (Translate between counted byte arrays and their XDR) is a filter primitive that translates between counted byte arrays and their external representations.</li>
<li><A HREF="xdr_char.htm">xdr_char()</A> (Translate between characters and their XDR) is a filter primitive that translates between C-language characters and their external representation.</li>
<li><A HREF="xdr_double.htm">xdr_double()</A> (Translate between double-precision and XDR) is a filter primitive that translates between C-language double-precision numbers and their external representations.</li>
<li><A HREF="xdr_double_char.htm">xdr_double_char()</A> (Translate between two-byte characters) is a filter primitive that translates between C-language 2-byte characters and their external representation.</li>
<li><A HREF="xdr_enum.htm">xdr_enum()</A> (Translate between enumeration and XDR) is a filter primitive that translates between C-language enumeration (enum) and its external representation.</li>
<li><A HREF="xdr_float.htm">xdr_float()</A> (Translate between floats and their XDR) is a filter primitive that translates between C-language floating-point numbers (normalized single floating-point numbers) and their external representations.</li>
<li><A HREF="xdr_free.htm">xdr_free()</A> (Generic freeing function) recursively frees the object pointed to by the pointer passed in.</li>
<li><A HREF="xdr_int.htm">xdr_int()</A> (Translate between integers and their XDR) is a filter primitive that translates between C-language integers and their external representation.</li>
<li><A HREF="xdr_long.htm">xdr_long()</A> (Translate between long integers and their XDR) is a filter primitive that translates between C-language long integers and their external representations.</li>
<li><A HREF="xdr_netobj.htm">xdr_netobj()</A> (Translate between netobj structures and their XDR) is a filter primitive that translates between variable-length opaque data and its external representation.</li>
<li><A HREF="xdr_opaque.htm">xdr_opaque()</A> (Translate between fixed-size data and its XDR) is a filter primitive that translates between fixed-size opaque data and its external representation.</li>
<li><A HREF="xdr_pointer.htm">xdr_pointer()</A> (Provide pointer chasing within structures) provides pointer chasing within structures and serializes null pointers.</li>
<li><A HREF="xdr_reference.htm">xdr_reference()</A> (Provide pointer chasing within structures) is a filter primitive that provides pointer chasing within structures.</li>
<li><A HREF="xdr_short.htm">xdr_short()</A> (Translate between short integers and their XDR) is a filter primitive that translates between C-language short integers and their external representation.</li>
<li><A HREF="xdr_string.htm">xdr_string()</A> (Translate between strings and their XDR) is a filter primitive that translates between C-language strings and their corresponding external representations.</li>
<li><A HREF="xdr_u_char.htm">xdr_u_char()</A> (Translate between unsigned characters and their XDR) is a filter primitive that translates between unsigned C-language characters and their external representations.</li>
<li><A HREF="xdr_u_int.htm">xdr_u_int()</A> (Translate between an unsigned integer and its XDR) is a filter primitive that translates between C-language unsigned integers and their external representations.</li>
<li><A HREF="xdr_u_long.htm">xdr_u_long()</A> (Translate between an unsigned long and its XDR) is a filter primitive that translates between C-language unsigned long integers and their external representations.</li>
<li><A HREF="xdr_u_short.htm">xdr_u_short()</A> (Translate between an unsigned short and its XDR) is a filter primitive that translates between C-language unsigned short integers and their external representations.</li>
<li><A HREF="xdr_union.htm">xdr_union()</A> (Translate between unions and their XDR) is a filter primitive that translates between discriminated C unions and their corresponding external representations.</li>
<li><A HREF="xdr_vector.htm">xdr_vector()</A> (Translate between arrays and their XDR) is a filter primitive that translates between fixed-length arrays and their corresponding external representations.</li>
<li><A HREF="xdr_void.htm">xdr_void()</A> (Supply an XDR function to the RPC system) has no parameters.</li>
<li><A HREF="xdr_wrapstring.htm">xdr_wrapstring()</A> (Call the xdr_string() function) is a primitive that calls the xdr_string(xdr, sp, maxuint) API, where maxuint is the maximum value of an unsigned integer.</li>
</ul>
<!--***************API END PASTE***************-->
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center">
<a href="#Top_Of_Page">Top</a> |
<a href="rpc1.htm">Remote Procedure Call (RPC) APIs</a> |
<a href="aplist.htm">APIs by category</a></td>
</tr>
</table>
</center>
</body>
</html>