ODR decode; /**< decode stream (input) */
ODR print; /**< print stream (input) */
- bend_association association; /**< GFS association / sesssion (input) */
+ bend_association association; /**< GFS association / session (input) */
Odr_int hits; /**< hits (output) */
int errcode; /**< Diagnostic code / 0 for no error (output) */
char *errstring; /**< Additional info (output) */
Z_SRW_extra_arg *extra_args; /**< SRU extra request parameters (input) */
char *extra_response_data; /**< SRW extra XML response (output) */
Z_OtherInformation *search_input; /**< extra search info request (input) */
+ Odr_int present_number; /**< piggyback present number (>0) (input) */
} bend_search_rr;
/** \brief Information for present handler. Does not replace bend_fetch. */
Z_RecordComposition *comp; /**< Formatting instructions (input) */
ODR stream; /**< encoding stream (input) */
ODR print; /**< printing stream (input) */
- bend_association association; /**< GFS association / sesssion (input) */
+ bend_association association; /**< GFS association / session (input) */
int errcode; /**< Diagnostic code / 0 for no error (output) */
char *errstring; /**< Additional info (output) */
rr.query->u.type_1 = 0;
rr.extra_args = sr->extra_args;
rr.extra_response_data = 0;
+ rr.present_number = srw_req->maximumRecords ?
+ *srw_req->maximumRecords : 0;
if (srw_req->query_type == Z_SRW_query_type_cql)
{
bsrr->errstring = NULL;
bsrr->search_info = NULL;
bsrr->search_input = req->otherInfo;
+ bsrr->present_number = *req->mediumSetPresentNumber;
if (assoc->server && assoc->server->cql_transform
&& req->query->which == Z_Query_type_104