yaz_scan_result() returns terms and associated information as received from the server in the last performed yaz_scan().
id
The connection resource returned by yaz_connect().
result
If given, this array will be modified to hold additional information taken from the Scan Response:
number - Number of entries returned
stepsize - Step size
position - Position of term
status - Scan status