X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Ffrontend.xml;h=297c5f3b06ed17a528fd4f25dee4fad36380e329;hb=6ba14eb5dc7229aa17977882024a475b6d258368;hp=70329d01f2e65a1f7e75b39aacc5a89b5d3b2dab;hpb=590c128319e6987f82f3e798b12173c5ecf197b4;p=yaz-moved-to-github.git diff --git a/doc/frontend.xml b/doc/frontend.xml index 70329d0..297c5f3 100644 --- a/doc/frontend.xml +++ b/doc/frontend.xml @@ -1,4 +1,4 @@ - + Generic server Introduction @@ -224,7 +224,7 @@ statserv_options_block *statserv_getcontrol(void); int idle_timeout; - Maximum session idletime, in minutes. Zero indicates + Maximum session idle-time, in minutes. Zero indicates no (infinite) timeout. Default is 120 minutes. @@ -342,6 +342,7 @@ typedef struct bend_initrequest Z_ReferenceId *referenceId;/* reference ID */ char *peer_name; /* dns host of peer (client) */ + char *implementation_id; char *implementation_name; char *implementation_version; int (*bend_sort) (void *handle, bend_sort_rr *rr); @@ -394,8 +395,9 @@ typedef struct bend_initresult The members peer_name, + implementation_id, implementation_name and - implementation_version holds DNS of client, name + implementation_version holds DNS of client, ID of implementor, name of client (Z39.50) implementation - and version. @@ -649,7 +651,7 @@ typedef enum { } bend_scan_status; typedef struct bend_scan_rr { - int num_bases; /* number of elements in databaselist */ + int num_bases; /* number of elements in database list */ char **basenames; /* databases to search */ oid_value attributeset; Z_ReferenceId *referenceId; /* reference ID */ @@ -678,7 +680,7 @@ typedef struct bend_scan_rr { - appname [-szSiTu -a apdufile -l logfile -v loglevel -c config] + appname [-szSiT1 -u uid -a apdufile -l logfile -v loglevel -c config] [listener ...] @@ -688,7 +690,7 @@ typedef struct bend_scan_rr { -a - file + apdufile Specify a file for dumping PDUs (for diagnostic purposes). The special name "-" sends output to @@ -704,6 +706,12 @@ typedef struct bend_scan_rr { current users. + -1 + + Like -S but after one session the server + exits. This mode is for debugging only. + + -T Operate the server in threaded mode. The server creates a thread @@ -743,11 +751,11 @@ typedef struct bend_scan_rr { level The log level. Use a comma-separated list of members of the set - {fatal,debug,warn,log,all,none}. + {fatal,debug,warn,log,malloc,all,none}. -u - userid + uid Set user ID. Sets the real UID of the server process to that of the given user. It's useful if you aren't comfortable with having the @@ -758,7 +766,10 @@ typedef struct bend_scan_rr { -w dir - Working directory. + The server changes to this directory during before listening + on incoming connections. This option is useful + when the server is operating from the inetd + daemon (see -i). -i @@ -769,36 +780,39 @@ typedef struct bend_scan_rr { -install - Use this to install the server as an NT service (Windows 2000/NT only). + Use this to install the server as an NT service + (Windows 2000/NT only). Control the server by going to the Services in the Control Panel. -remove - Use this to remove the server from the NT services (Windows 2000/NT only). + Use this to remove the server from the NT services + (Windows 2000/NT only). - + -t minutes Idle session timeout, in minutes. - + -k - size + size Maximum record size/message size, in kilobytes. - + - + A listener specification consists of a transport mode followed by a colon (:) followed by a listener address. The transport mode is - either tcp or ssl. + either tcp, unix: or + ssl. - + For TCP and SSL, an address has the form @@ -812,6 +826,10 @@ typedef struct bend_scan_rr { + For UNIX local socket the address is the name local file. + + + Examples @@ -819,10 +837,12 @@ typedef struct bend_scan_rr { tcp:dranet.dra.com ssl:ssl.enterprise.com:3000 + + unix:/tmp/yaz - In both cases, the special hostname "@" is mapped to + For TCP/IP and SSL, the special hostname "@" is mapped to the address INADDR_ANY, which causes the server to listen on any local interface.