<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
     <!ENTITY gfs-options SYSTEM "gfs-options.xml">
     <!ENTITY gfs-virtual SYSTEM "gfs-virtual.xml">
     <!ENTITY gfs-synopsis SYSTEM "gfs-synopsis.xml">
     <!ENTITY gfs-synopsis-app "yaz-ztest">
     <!ENTITY reference-tools-cql-map 'section "Specifiction of CQL to RPN mappings"'>
]>
<!-- $Id: yaz-ztest-man.xml,v 1.7 2005/03/14 11:12:16 adam Exp $ -->
<refentry id="yaz-ztest">
 
 <refmeta>
  <refentrytitle>yaz-ztest</refentrytitle>
  <manvolnum>8</manvolnum>
 </refmeta>
 
 <refnamediv>
  <refname>yaz-ztest</refname>
  <refpurpose>Z39.50 Test Server</refpurpose>
 </refnamediv>
 
 <refsynopsisdiv>
  &gfs-synopsis;
 </refsynopsisdiv>
 <refsect1><title>DESCRIPTION</title>
  <para>
   <command>yaz-ztest</command> is a Z39.50 test server that uses
   the YAZ generic frontend server API.
   The server acts as a real Z39.50 server but does not use a database.
   It returns a random hit count and returns a subset of a few built-in
   records.
  </para>
  <para>
   The <replaceable>listener-spec</replaceable> consists of a transport
   mode followed by a colon, followed by a listener address. The
   transport mode is either <literal>tcp</literal>, <literal>unix</literal>,
   or <literal>ssl</literal>.
  </para>
  <para>
   For TCP and SSL, an address has the form:
   <screen>
    hostname | IP-number [ : portnumber ]
   </screen>
  </para>
  <para>
   For UNIX local socket the address is the filename of the local socket.
  </para>
 </refsect1>
 <refsect1>
  <title>OPTIONS</title>
  &gfs-options;
 </refsect1>
 <refsect1><title>VIRTUAL HOSTS</title>
  &gfs-virtual;
 </refsect1>
 <refsect1><title>FILES</title>
  <para>
   <filename>yaz-&lt;version&gt;/ztest/yaz-ztest.c</filename>
  </para>
  <para>
   <filename>yaz-&lt;version&gt;/include/yaz/backend.h</filename>
  </para>
 </refsect1>
 <refsect1 id="tools.cql.map"><title>SEE ALSO</title>
  <para>
   <citerefentry>
    <refentrytitle>yaz</refentrytitle>
    <manvolnum>7</manvolnum></citerefentry>
  </para>
  <para>
   Section "Generic server" in the YAZ manual.
  </para>
 </refsect1>
</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-local-catalogs: nil
sgml-namecase-general:t
End:
-->
