Download YAZ User's Guide and Reference

Transcript
Table of Contents
1. Introduction............................................................................................................................................1
Reading this Manual ..........................................................................................................................1
The API ..............................................................................................................................................2
2. Compilation and Installation ................................................................................................................5
Introduction ........................................................................................................................................5
UNIX..................................................................................................................................................5
Compiling from source on Unix...............................................................................................6
How to make apps using YAZ on UNIX ..................................................................................8
WIN32................................................................................................................................................9
Compiling from Source on WIN32 ..........................................................................................9
How to make apps using YAZ on WIN32 ..............................................................................11
3. ZOOM...................................................................................................................................................13
Connections......................................................................................................................................13
Z39.50 Protocol behavior .......................................................................................................15
SRW Protocol behavior ..........................................................................................................15
Queries .............................................................................................................................................15
Protocol behavior....................................................................................................................16
Result sets ........................................................................................................................................16
Z39.50 Protocol behavior .......................................................................................................17
SRW Protocol behavior ..........................................................................................................18
Records.............................................................................................................................................18
Z39.50 Protocol behavior .......................................................................................................19
SRW Protocol behavior ..........................................................................................................20
Scan ..................................................................................................................................................20
Options .............................................................................................................................................21
Events...............................................................................................................................................21
4. Generic server ......................................................................................................................................22
Introduction ......................................................................................................................................22
The Database Frontend ....................................................................................................................22
The Backend API .............................................................................................................................23
Your main() Routine.........................................................................................................................23
The Backend Functions....................................................................................................................25
Init...........................................................................................................................................25
Search and retrieve .................................................................................................................27
Delete......................................................................................................................................29
scan .........................................................................................................................................30
Application Invocation .....................................................................................................................30
5. The YAZ client .....................................................................................................................................34
Introduction ......................................................................................................................................34
Invoking the YAZ client ...................................................................................................................34
Commands .......................................................................................................................................35
Searching..........................................................................................................................................38
iii