projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug #729: Bad error message when starting with an invalid address.
[yaz-moved-to-github.git]
/
doc
/
frontend.xml
diff --git
a/doc/frontend.xml
b/doc/frontend.xml
index
2350af3
..
0f83a6e
100644
(file)
--- a/
doc/frontend.xml
+++ b/
doc/frontend.xml
@@
-1,6
+1,6
@@
-<!-- $Id: frontend.xml,v 1.30 2006-06-13 16:01:51 adam Exp $ -->
+<!-- $Id: frontend.xml,v 1.32 2006-10-05 08:26:58 adam Exp $ -->
<chapter id="server"><title>Generic server</title>
<chapter id="server"><title>Generic server</title>
- <sect1><title>Introduction</title>
+ <sect1 id="server.introduction"><title>Introduction</title>
<para>
If you aren't into documentation, a good way to learn how the
<para>
If you aren't into documentation, a good way to learn how the
@@
-167,7
+167,7
@@
int statserv_main(int argc, char **argv,
</para>
<synopsis>
</para>
<synopsis>
-statserv_options_block *statserv_getcontrol(void);
+ statserv_options_block *statserv_getcontrol(void);
</synopsis>
<para>
</synopsis>
<para>
@@
-200,12
+200,6
@@
statserv_options_block *statserv_getcontrol(void);
</para></listitem></varlistentry>
<varlistentry><term>
</para></listitem></varlistentry>
<varlistentry><term>
- <literal>int loglevel</literal></term><listitem><para>
- Set this by ORing the constants defined in
- <filename>include/yaz/yaz-log.h</filename>.
- </para></listitem></varlistentry>
-
- <varlistentry><term>
<literal>char logfile[ODR_MAXNAME+1]</literal></term>
<listitem><para>File for diagnostic output ("": stderr).
</para></listitem></varlistentry>
<literal>char logfile[ODR_MAXNAME+1]</literal></term>
<listitem><para>File for diagnostic output ("": stderr).
</para></listitem></varlistentry>
@@
-321,7
+315,7
@@
void statserv_setcontrol(statserv_options_block *block);
functions representing the services that you wish to implement.
</para>
functions representing the services that you wish to implement.
</para>
- <sect2><title>Init</title>
+ <sect2 id="server.init"><title>Init</title>
<synopsis>
bend_initresult (*bend_init)(bend_initrequest *r);
<synopsis>
bend_initresult (*bend_init)(bend_initrequest *r);
@@
-435,7
+429,7
@@
typedef struct bend_initresult
</sect2>
</sect2>
- <sect2><title>Search and retrieve</title>
+ <sect2 id="server.search.retrieve"><title>Search and Retrieve</title>
<para>We now describe the handlers that are required to support search -
and retrieve. You must support two functions - one for search - and one
<para>We now describe the handlers that are required to support search -
and retrieve. You must support two functions - one for search - and one
@@
-509,7
+503,7
@@
typedef struct {
structure (note that CQL is now part of Z39.50 via an external).
To support CQL in existing implementations that only do Type-1,
we refer to the CQL-to-PQF tool described
structure (note that CQL is now part of Z39.50 via an external).
To support CQL in existing implementations that only do Type-1,
we refer to the CQL-to-PQF tool described
- <link linkend="tools.cql.pqf">here</link>.
+ <link linkend="cql.to.pqf">here</link>.
</para>
<para>
</para>
<para>
@@
-656,7
+650,7
@@
typedef struct {
</sect2>
</sect2>
- <sect2><title>Delete</title>
+ <sect2 id="server.delete"><title>Delete</title>
<para>
For back-ends that supports delete of a result set only one handler
<para>
For back-ends that supports delete of a result set only one handler
@@
-690,7
+684,7
@@
typedef struct bend_delete_rr {
</sect2>
</sect2>
- <sect2><title>scan</title>
+ <sect2 id="server.scan"><title>Scan</title>
<para>
For servers that wish to offer the scan service one handler
<para>
For servers that wish to offer the scan service one handler
@@
-785,7
+779,7
@@
typedef struct bend_scan_rr {
which causes the server to listen on any local interface.
</para>
which causes the server to listen on any local interface.
</para>
- <example><title>Running the GFS on Unix</title>
+ <example id="server.example.running.unix"><title>Running the GFS on Unix</title>
<para>
Assuming the server application <replaceable>appname</replaceable> is
started as root, the following will make it listen on port 210.
<para>
Assuming the server application <replaceable>appname</replaceable> is
started as root, the following will make it listen on port 210.
@@
-799,7
+793,7
@@
typedef struct bend_scan_rr {
The server will accept Z39.50 requests and offer SRU service on port 210.
</para>
</example>
The server will accept Z39.50 requests and offer SRU service on port 210.
</para>
</example>
- <example><title>Setting up Apache as SRU Frontend</title>
+ <example id="server.example.apache.sru"><title>Setting up Apache as SRU Frontend</title>
<para>
If you use <ulink url="&url.apache;">Apache</ulink>
as your public web server and want to offer HTTP port 80
<para>
If you use <ulink url="&url.apache;">Apache</ulink>
as your public web server and want to offer HTTP port 80
@@
-822,7
+816,8
@@
typedef struct bend_scan_rr {
The above for the Apache 1.3 series.
</para>
</example>
The above for the Apache 1.3 series.
</para>
</example>
- <example><title>Running a server with local access only</title>
+ <example id="server.example.local.access">
+ <title>Running a server with local access only</title>
<para>
Servers that is only being accessed from the local host should listen
on UNIX file socket rather than a Internet socket. To listen on
<para>
Servers that is only being accessed from the local host should listen
on UNIX file socket rather than a Internet socket. To listen on