224 lines
6.4 KiB
HTML
224 lines
6.4 KiB
HTML
|
<!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>Header Files for Remote Procedure Call 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. -->
|
||
|
<!-- RPC7 SCRIPT A converted by B2H R4.1 (346) (CMS) by PMHALL at -->
|
||
|
<!-- RCHVMW2 on 8 Oct 1998 at 00:40:36 -->
|
||
|
<!-- File cleanup completed Dec 2001 by v2cdijab -->
|
||
|
<!-- End Header Records -->
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<!-- Java sync-link -->
|
||
|
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
|
||
|
</script>
|
||
|
<a name="Top_Of_Page"></a>
|
||
|
<h2>Header Files for Remote Procedure Call APIs</h2>
|
||
|
|
||
|
<p>Programs using the Remote Procedure Call (RPC) APIs must include
|
||
|
<rpc/rpc.h> and one or more additional header files that contain
|
||
|
information needed by the functions, such as:</p>
|
||
|
|
||
|
<ul>
|
||
|
<li>Macro definitions</li>
|
||
|
|
||
|
<li>Data type definitions</li>
|
||
|
|
||
|
<li>Structure definitions</li>
|
||
|
|
||
|
<li>Function prototypes</li>
|
||
|
</ul>
|
||
|
|
||
|
<p>The header files are provided in the QSYSINC library, which is optionally
|
||
|
installable. Make sure QSYSINC is on your system before compiling programs that
|
||
|
use these header files. For information on installing the QSYSINC library, see
|
||
|
<a href="../apiref/conQSYSINC.htm">Include files and the QSYSINC Library</a>.</p>
|
||
|
|
||
|
<p>The table below shows the file and member name in the QSYSINC library for
|
||
|
each header file used by the TI-RPC APIs in the Information Center.</p>
|
||
|
|
||
|
<table border="1" width="80%">
|
||
|
<tr>
|
||
|
<th align="left" valign="bottom"><em>Name of Header File</em></th>
|
||
|
<th align="left" valign="bottom"><em>Name of File<br>in QSYSINC</em></th>
|
||
|
<th align="left" valign="bottom"><em>Name of Member</em></th>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top" width="33%"><strong>netconfig.h</strong> <sup>1</sup></td>
|
||
|
<td align="left" valign="top" width="34%">H</td>
|
||
|
<td align="left" valign="top" width="33%">NETCONFIG</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>netdir.h</strong> <sup>2</sup></td>
|
||
|
<td align="left" valign="top">H</td>
|
||
|
<td align="left" valign="top">NETDIR</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>tirpccom.h</strong></td>
|
||
|
<td align="left" valign="top">H</td>
|
||
|
<td align="left" valign="top">TIRPCCOM</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>rpc/auth.h</strong></td>
|
||
|
<td align="left" valign="top">RPC</td>
|
||
|
<td align="left" valign="top">AUTH</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>rpc/auth_sys.h</strong></td>
|
||
|
<td align="left" valign="top">RPC</td>
|
||
|
<td align="left" valign="top">AUTH_SYS</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>rpc/auth_unix.h</strong></td>
|
||
|
<td align="left" valign="top">RPC</td>
|
||
|
<td align="left" valign="top">AUTH_UNIX</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>rpc/clnt.h</strong></td>
|
||
|
<td align="left" valign="top">RPC</td>
|
||
|
<td align="left" valign="top">CLNT</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>rpc/rpc.h</strong></td>
|
||
|
<td align="left" valign="top">RPC</td>
|
||
|
<td align="left" valign="top">RPC</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>rpc/rpc_com.h</strong></td>
|
||
|
<td align="left" valign="top">RPC</td>
|
||
|
<td align="left" valign="top">RPC_COM</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>rpc/rpc_msg.h</strong></td>
|
||
|
<td align="left" valign="top">RPC</td>
|
||
|
<td align="left" valign="top">RPC_MSG</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>rpc/rpcb_clnt.h</strong></td>
|
||
|
<td align="left" valign="top">RPC</td>
|
||
|
<td align="left" valign="top">RPCB_CLNT</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>rpc/rpcb_prot.h</strong></td>
|
||
|
<td align="left" valign="top">RPC</td>
|
||
|
<td align="left" valign="top">RPCB_PROT</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>rpc/types.h</strong></td>
|
||
|
<td align="left" valign="top">RPC</td>
|
||
|
<td align="left" valign="top">TYPES</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>rpc/svc.h</strong></td>
|
||
|
<td align="left" valign="top">RPC</td>
|
||
|
<td align="left" valign="top">SVC</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>rpc/svc_auth.h</strong></td>
|
||
|
<td align="left" valign="top">RPC</td>
|
||
|
<td align="left" valign="top">SVC_AUTH</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><strong>rpc/xdr.h</strong></td>
|
||
|
<td align="left" valign="top">RPC</td>
|
||
|
<td align="left" valign="top">XDR</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top" colspan="3"><strong>Note:</strong>
|
||
|
|
||
|
<ol type="1">
|
||
|
<li>The member netconfig.h in the H file in the QSYSINC library is used by the
|
||
|
Network Selection functions.<br>
|
||
|
<br>
|
||
|
</li>
|
||
|
|
||
|
<li>The member netdir.h in the H file in the QSYSINC library is used by the
|
||
|
Name-to-Address Translation functions.</li>
|
||
|
</ol>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<p>You can display a header file in QSYSINC by using one of the following
|
||
|
methods:</p>
|
||
|
|
||
|
<ul>
|
||
|
<li>Using your editor. For example, to display the <strong>netconfig.h</strong>
|
||
|
header file using the Source Entry Utility editor, enter the following command:
|
||
|
|
||
|
|
||
|
<pre>
|
||
|
STRSEU SRCFILE(QSYSINC/H) SRCMBR(NETCONFIG) OPTION(5)
|
||
|
</pre>
|
||
|
</li>
|
||
|
|
||
|
<li>Using the Display Physical File Member command. For example, to display the
|
||
|
<strong>rpc/rpc.h</strong> header file, enter the following command:
|
||
|
|
||
|
<pre>
|
||
|
DSPPFM FILE(QSYSINC/RPC) MBR(RPC)
|
||
|
</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
|
||
|
<p>You can print a header file in QSYSINC by using one of the following
|
||
|
methods:</p>
|
||
|
|
||
|
<ul>
|
||
|
<li>Using your editor. For example, to print the <strong>netdir.h</strong>
|
||
|
header file using the Source Entry Utility editor, enter the following command:
|
||
|
|
||
|
|
||
|
<pre>
|
||
|
STRSEU SRCFILE(QSYSINC/H) SRCMBR(netdir) OPTION(6)
|
||
|
</pre>
|
||
|
</li>
|
||
|
|
||
|
<li>Using the Copy File command. For example, to print the <strong>
|
||
|
rpc/rpc.h</strong> header file, enter the following command:
|
||
|
|
||
|
<pre>
|
||
|
CPYF FROMFILE(QSYSINC/RPC) TOFILE(*PRINT) FROMMBR(RPC)
|
||
|
</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
|
||
|
<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>
|