We include, for reference, a listing of the fields of each top-level
PDU, as well as their default settings.
Table 6-1. Default settings for PDU Initialize Request
Field | Type | Default Value |
---|
referenceId | Z_ReferenceId | NULL
|
protocolVersion | Odr_bitmask | Empty bitmask
|
options | Odr_bitmask | Empty bitmask
|
preferredMessageSize | int | 30*1024
|
maximumRecordSize | int | 30*1024
|
idAuthentication | Z_IdAuthentication | NULL
|
implementationId | char* | "81"
|
implementationName | char* | "YAZ"
|
implementationVersion | char* | YAZ_VERSION
|
userInformationField | Z_UserInformation | NULL
|
otherInfo | Z_OtherInformation | NULL
|
Table 6-2. Default settings for PDU Initialize
Response
Field | Type | Default Value |
---|
referenceId | Z_ReferenceId | NULL
|
protocolVersion | Odr_bitmask | Empty bitmask
|
options | Odr_bitmask | Empty bitmask
|
preferredMessageSize | int | 30*1024
|
maximumRecordSize | int | 30*1024
|
result | bool_t | TRUE
|
implementationId | char* | "id)"
|
implementationName | char* | "YAZ"
|
implementationVersion | char* | YAZ_VERSION
|
userInformationField | Z_UserInformation | NULL
|
otherInfo | Z_OtherInformation | NULL
|
Table 6-3. Default settings for PDU Search Request
Field | Type | Default Value |
---|
referenceId | Z_ReferenceId | NULL
|
smallSetUpperBound | int | 0
|
largeSetLowerBound | int | 1
|
mediumSetPresentNumber | int | 0
|
replaceIndicator | bool_t | TRUE
|
resultSetName | char * | "default"
|
num_databaseNames | int | 0
|
databaseNames | char ** | NULL
|
smallSetElementSetNames | Z_ElementSetNames
| NULL
|
mediumSetElementSetNames | Z_ElementSetNames
| NULL
|
preferredRecordSyntax | Odr_oid | NULL
|
query | Z_Query | NULL
|
additionalSearchInfo | Z_OtherInformation
| NULL
|
otherInfo | Z_OtherInformation | NULL
|
Table 6-4. Default settings for PDU Search Response
Field | Type | Default Value |
---|
referenceId | Z_ReferenceId | NULL
|
resultCount | int | 0
|
numberOfRecordsReturned | int | 0
|
nextResultSetPosition | int | 0
|
searchStatus | bool_t | TRUE
|
resultSetStatus | int | NULL
|
presentStatus | int | NULL
|
records | Z_Records | NULL
|
additionalSearchInfo | Z_OtherInformation | NULL
|
otherInfo | Z_OtherInformation | NULL
|
Table 6-5. Default settings for PDU Present Request
Field | Type | Default Value |
---|
referenceId | Z_ReferenceId | NULL
|
resultSetId | char* | "default"
|
resultSetStartPoint | int | 1
|
numberOfRecordsRequested | int | 10
|
num_ranges | int | 0
|
additionalRanges | Z_Range | NULL
|
recordComposition | Z_RecordComposition | NULL
|
preferredRecordSyntax | Odr_oid | NULL
|
maxSegmentCount | int | NULL
|
maxRecordSize | int | NULL
|
maxSegmentSize | int | NULL
|
otherInfo | Z_OtherInformation | NULL
|
Table 6-8. Default settings for Delete Result Set Response
Field | Type | Default Value |
---|
referenceId | Z_ReferenceId | NULL
|
deleteOperationStatus | int | Z_DeleteStatus_success |
num_statuses | int | 0
|
deleteListStatuses | Z_ListStatus** | NULL
|
numberNotDeleted | int | NULL
|
num_bulkStatuses | int | 0
|
bulkStatuses | Z_ListStatus | NUL
L |
deleteMessage | char* | NULL
|
otherInfo | Z_OtherInformation | NULL
|
Table 6-9. Default settings for Scan Request
Field | Type | Default Value |
---|
referenceId | Z_ReferenceId | NULL
|
num_databaseNames | int | 0
|
databaseNames | char** | NULL
|
attributeSet | Odr_oid | NULL
|
termListAndStartPoint | Z_AttributesPlus...
| NULL |
stepSize | int | NULL
|
numberOfTermsRequested | int | 20
|
preferredPositionInResponse | int | NULL
|
otherInfo | Z_OtherInformation | NULL
|
Table 6-10. Default settings for Scan Response
Field | Type | Default Value |
---|
referenceId | Z_ReferenceId | NULL
|
stepSize | int | NULL
|
scanStatus | int | Z_Scan_success
|
numberOfEntriesReturned | int | 0
|
positionOfTerm | int | NULL
|
entries | Z_ListEntris | NULL
|
attributeSet | Odr_oid | NULL
|
otherInfo | Z_OtherInformation | NULL
|
Table 6-16. Default settings for Segment
Field | Type | Default Value |
---|
referenceId | Z_ReferenceId | NULL
|
numberOfRecordsReturned | int | value=0
|
num_segmentRecords | int | 0
|
segmentRecords | Z_NamePlusRecord | NULL
|
otherInfo | Z_OtherInformation | NULL
|
Table 6-17. Default settings for Close
Field | Type | Default Value |
---|
referenceId | Z_ReferenceId | NULL
|
closeReason | int | Z_Close_finished
|
diagnosticInformation | char* | NULL
|
resourceReportFormat | Odr_oid | NULL
|
resourceFormat | Z_External | NULL
|
otherInfo | Z_OtherInformation | NULL
|