- bend_request request;
- bend_association association;
- int *fd;
- int hits; /* number of hits */
- int errcode; /* 0==OK */
- char *errstring; /* system error string or NULL */
- Z_OtherInformation *search_info; /* additional search info */
+ This structure is passed to the search handler. Some members
+ are read-only (input), some are read-write (input and ouput),
+ and others are write-only.
+ */
+typedef struct {
+ char *setname; /**< result set ID (input) */
+ int replace_set; /**< replace set indicator (input) */
+ int num_bases; /**< number of databases (input) */
+ char **basenames; /**< databases to search (input) */
+ Z_ReferenceId *referenceId;/**< reference ID (input) */
+ Z_Query *query; /**< query structure (input) */
+ ODR stream; /**< encode stream (input) */
+ ODR decode; /**< decode stream (input) */
+ ODR print; /**< print stream (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_OtherInformation *search_info; /**< extra search info result (output) */
+ char *srw_sortKeys; /**< SRU sortKeys info (input) */
+ char *srw_setname; /**< SRU generated resultsetID (output) */
+ int *srw_setnameIdleTime; /**< SRU result set idle time (output) */
+ int estimated_hit_count; /**< 1=estimated hits; 0=exact (output) */
+ int partial_resultset; /**< 1=partial results; 0=full (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) */