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

89 lines
2.7 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>dn_comp_ts64()--Compress Domain Name</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. -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!-- File created by V2DCIJB on 17 Nov 1999 -->
<!-- Edited by Kersten Feb 02 -->
<!-- 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>dn_comp_ts64()--Compress Domain Name</h2>
<div class="box" style="width: 60%;">
<br>
&nbsp;&nbsp;Syntax
<pre>
#include &lt;sys/types.h&gt;
#include &lt;netinet/in.h&gt;
#include &lt;arpa/nameser.h&gt;
#include &lt;resolv.h&gt;
int dn_comp_ts64(unsigned char * __ptr64 <em>expanded_domain_name</em>,
unsigned char * __ptr64 <em>compressed_domain_name</em>,
int <em>answer_buffer_length</em>,
unsigned char * __ptr64 * __ptr64 <em>domain_name_pointers</em>,
unsigned char * __ptr64 * __ptr64 <em>last_domain_name</em>)
</pre>
<br>
&nbsp;&nbsp;Service Program Name: QSOSRV2<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Default Public Authority: *USE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: Yes<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The <em>dn_comp_ts64()</em> function is used to compress an expanded domain
name. <em>dn_comp_ts64()</em> differs from <em>dn_comp()</em> in that
<em>dn_comp_ts64()</em> accepts 8-byte teraspace pointers.</p>
<p>For a discussion of the parameters, authorities required, return values, and
other related information, see <a href="dncomp.htm">dn_comp()</a>--Compress Domain
Name.</p>
<br>
<h3>Usage Notes</h3>
<p>All of the usage notes for <a href="dncomp.htm">dn_comp()</a>--Compress Domain
Name apply to <em>dn_comp_ts64()</em>.</p>
<br>
<hr>
API introduced: V5R1
<hr>
<table cellpadding="2" cellspacing="2" align="center">
<tr align="center">
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
"unix.htm">UNIX-Type APIs</a> | <a href="aplist.htm">APIs by category</a> </td>
</tr>
</table>
</body>
</html>