X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Ffrontend.xml;h=297c5f3b06ed17a528fd4f25dee4fad36380e329;hb=6ba14eb5dc7229aa17977882024a475b6d258368;hp=2121b07392cf4a0b914b782eafc36b198248943f;hpb=ea5dd493ff58ce3460bd38560f35c7a1e7913fc4;p=yaz-moved-to-github.git diff --git a/doc/frontend.xml b/doc/frontend.xml index 2121b07..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. @@ -651,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 */ @@ -680,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 ...] @@ -690,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 @@ -706,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 @@ -745,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 @@ -760,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 @@ -771,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 @@ -814,6 +826,10 @@ typedef struct bend_scan_rr { + For UNIX local socket the address is the name local file. + + + Examples @@ -821,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.